Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 172.9 kB / 24.82 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9848/0.9848, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 32.8 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.221e-05, allocations: 5.125 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001907/0.001919, allocations: 1.657 MB / 378.2 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006185/0.002538, allocations: 0.5336 MB / 378.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.002586, allocations: 0 / 378.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.002825, allocations: 131.5 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.003048, allocations: 131.5 kB / 378.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.003237, allocations: 111.6 kB / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.003358, allocations: 99.72 kB / 379.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.86e-05/0.003437, allocations: 12 kB / 379.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.003503, allocations: 63.8 kB / 379.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.456e-05/0.003598, allocations: 83.83 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.00361, allocations: 0 / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.003674, allocations: 51.92 kB / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.003715, allocations: 35.84 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.003736, allocations: 11.94 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.003859, allocations: 99.59 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.00386, allocations: 0 / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003861, allocations: 0 / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003864, allocations: 4 kB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003274/0.004191, allocations: 467.6 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.004222, allocations: 12.03 kB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.004252, allocations: 20.84 kB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.004366, allocations: 148.4 kB / 380.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.004372, allocations: 8.375 kB / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.004386, allocations: 384 / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.88e-05/0.004465, allocations: 58.95 kB / 380.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004473, allocations: 192 / 380.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.00448, allocations: 4.125 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004484, allocations: 0 / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.004507, allocations: 19.91 kB / 380.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.004723, allocations: 276.4 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.396e-05/0.004767, allocations: 43.05 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.004783, allocations: 19.7 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.004801, allocations: 7.938 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.004817, allocations: 37.33 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.004818, allocations: 0 / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003693/0.005188, allocations: 157.3 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.005209, allocations: 55.41 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.00556, allocations: 266.7 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.00557, allocations: 25.7 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.005629, allocations: 170.8 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.005651, allocations: 35.72 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.005679, allocations: 27.38 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.005783, allocations: 0.504 MB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.005797, allocations: 11.98 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.00581, allocations: 4 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.005846, allocations: 39.59 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005847, allocations: 3.938 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.775e-05/0.005915, allocations: 69.59 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.005925, allocations: 8 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.005928, allocations: 0 / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.005937, allocations: 0 / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.005988, allocations: 20 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-06/0.00599, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.006008, allocations: 7.984 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.006012, allocations: 0 / 382 MB, free: 14.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.006069, allocations: 168.5 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.006091, allocations: 15.91 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.006192, allocations: 87.08 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006193, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.006194, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.006196, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.006434, allocations: 365.5 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006435, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.006468, allocations: 19.88 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006471, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.006476, allocations: 3.984 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006477, allocations: 4.469 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006478, allocations: 0 / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.006576, allocations: 235.5 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.006586, allocations: 15.91 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.006595, allocations: 4.031 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.006629, allocations: 7.984 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.006649, allocations: 7.938 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.006653, allocations: 4 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.968e-05/0.006723, allocations: 184.1 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006723, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.006879, allocations: 23.98 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007548/0.007634, allocations: 440.4 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.037e-05/0.007704, allocations: 35.67 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.007705, allocations: 3.938 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.00773, allocations: 31.66 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.007916, allocations: 19.98 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.008196, allocations: 263.1 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.767e-05/0.008234, allocations: 75.33 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.34e-05/0.008267, allocations: 17.08 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.008316, allocations: 78.2 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.008316, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.002692/0.01101, allocations: 1.57 MB / 385.6 MB, free: 11.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.805673320312053]