Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001124/0.001124, allocations: 80.41 kB / 22.21 MB, free: 2.281 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.001183/0.001183, allocations: 166.4 kB / 25.61 MB, free: 8.578 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.9902/0.9902, allocations: 177.2 MB / 206.1 MB, free: 4.488 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.137/0.137, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.647e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001915/0.001932, allocations: 1.689 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006101/0.002542, allocations: 0.5491 MB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.002592, allocations: 0 / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.002961, allocations: 459 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.003273, allocations: 291.2 kB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.003486, allocations: 131.6 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.003654, allocations: 183.6 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.003755, allocations: 16.16 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.003856, allocations: 119.8 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.004008, allocations: 251.6 kB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.004022, allocations: 4 kB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.004097, allocations: 55.86 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.004174, allocations: 83.66 kB / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.004203, allocations: 47.72 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004372, allocations: 203.2 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.004373, allocations: 0 / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004374, allocations: 7.922 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.004379, allocations: 0 / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004097/0.004789, allocations: 0.7125 MB / 382.1 MB, free: 20.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.004817, allocations: 15.92 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.004856, allocations: 44.66 kB / 382.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.004996, allocations: 252.8 kB / 382.4 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.005005, allocations: 8.375 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.005022, allocations: 8.359 kB / 382.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.005109, allocations: 62.94 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005119, allocations: 4.172 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.005127, allocations: 8.125 kB / 382.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005132, allocations: 3.938 kB / 382.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.005154, allocations: 12 kB / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.005393, allocations: 344.2 kB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.005519, allocations: 59.05 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.005538, allocations: 11.69 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.005555, allocations: 3.938 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.005569, allocations: 33.39 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.00557, allocations: 0 / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004758/0.006046, allocations: 265 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.006067, allocations: 51.41 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.006318, allocations: 0.604 MB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.006326, allocations: 25.7 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.006423, allocations: 302.7 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.006448, allocations: 39.64 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.006477, allocations: 31.36 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.006556, allocations: 0.5624 MB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.006572, allocations: 8 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.006589, allocations: 19.7 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.00663, allocations: 35.69 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.00663, allocations: 0 / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.71e-05/0.006728, allocations: 125.3 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.006737, allocations: 4 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.006741, allocations: 0 / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.006751, allocations: 4 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.008e-05/0.006811, allocations: 19.98 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006814, allocations: 0.5625 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.006843, allocations: 8 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.00685, allocations: 8 kB / 385 MB, free: 17.64 MB / 314.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 (11): * Single equations (assignments): 11 * 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.607e-05/0.006906, allocations: 168.5 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.006939, allocations: 47.72 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.007072, allocations: 137.4 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007074, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.007076, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.007078, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.007356, allocations: 469 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007358, allocations: 4.062 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.007404, allocations: 23.98 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007407, allocations: 0 / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007414, allocations: 8 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007415, allocations: 0 / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007416, allocations: 0 / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.007523, allocations: 294.8 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.007545, allocations: 35.72 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.00756, allocations: 0 / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.562e-05/0.007606, allocations: 11.98 kB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.007643, allocations: 15.92 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.007649, allocations: 4 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.007806, allocations: 398.7 kB / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007806, allocations: 0 / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.007977, allocations: 31.94 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009179/0.008894, allocations: 441.5 kB / 387 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.009004, allocations: 51.59 kB / 387.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.009006, allocations: 0 / 387.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.009039, allocations: 43.61 kB / 387.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.009291, allocations: 35.14 kB / 387.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.009883, allocations: 0.629 MB / 387.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.357e-05/0.009947, allocations: 127.1 kB / 387.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.009989, allocations: 20.47 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.01005, allocations: 86.19 kB / 388 MB, free: 14.63 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01005, allocations: 0 / 388 MB, free: 14.63 MB / 314.7 MB Notification: Performance of Templates: time 0.004107/0.01415, allocations: 1.923 MB / 390 MB, free: 12.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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: 3.1647252119146287]