Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001338/0.001338, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001438/0.001438, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2983/0.2983, allocations: 34.26 MB / 295.7 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.316e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002408/0.002431, allocations: 1.723 MB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003436, allocations: 0.5531 MB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.003501, allocations: 0 / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.004082, allocations: 463 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.004466, allocations: 299.1 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.004732, allocations: 139.5 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.004937, allocations: 167.7 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.005029, allocations: 16.2 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.005134, allocations: 127.7 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.005311, allocations: 243.6 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.005327, allocations: 4 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.00542, allocations: 55.86 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.005516, allocations: 87.7 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.005557, allocations: 43.73 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.005772, allocations: 211.1 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005776, allocations: 3.984 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005777, allocations: 0 / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.005781, allocations: 0 / 382.2 MB, free: 14.51 MB / 362.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.0008243/0.006606, allocations: 0.7048 MB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.006643, allocations: 8.031 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.006709, allocations: 44.66 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.006896, allocations: 248.9 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.006908, allocations: 8.375 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.00693, allocations: 4.375 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.007054, allocations: 74.86 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.007066, allocations: 192 / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.007078, allocations: 4.125 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.007086, allocations: 0 / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.529e-05/0.007121, allocations: 12 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.007546, allocations: 443.5 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.007742, allocations: 50.98 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.007766, allocations: 19.69 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.007785, allocations: 0 / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.007808, allocations: 37.52 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.00781, allocations: 0 / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006863/0.008496, allocations: 332.8 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.008543, allocations: 55.41 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.008965, allocations: 0.6355 MB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.008979, allocations: 25.7 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.009144, allocations: 282.8 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.00918, allocations: 39.64 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.009219, allocations: 31.38 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.009409, allocations: 0.5586 MB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.009439, allocations: 11.98 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.009464, allocations: 16 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.009527, allocations: 48 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009529, allocations: 0 / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001342/0.009663, allocations: 129.2 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.009678, allocations: 8 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.009685, allocations: 0 / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.0097, allocations: 4 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.009768, allocations: 19.98 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.009772, allocations: 0 / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.009809, allocations: 11.98 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.009816, allocations: 4 kB / 386 MB, free: 10.47 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 (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 0.0004414/0.01026, allocations: 168.5 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.0103, allocations: 51.66 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.01048, allocations: 137.5 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01048, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.01048, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01049, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.01091, allocations: 0.5473 MB / 386.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01092, allocations: 0 / 386.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.01097, allocations: 23.98 kB / 386.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01097, allocations: 0 / 386.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.01098, allocations: 4.188 kB / 386.9 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.01099, allocations: 16 kB / 386.9 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01099, allocations: 3.938 kB / 386.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.01116, allocations: 294.9 kB / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.01119, allocations: 31.72 kB / 387.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.01121, allocations: 8 kB / 387.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.01126, allocations: 11.92 kB / 387.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.0113, allocations: 7.984 kB / 387.3 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.01131, allocations: 4 kB / 387.3 MB, free: 9.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.01156, allocations: 434.7 kB / 387.7 MB, free: 8.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01156, allocations: 0 / 387.7 MB, free: 8.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000184/0.01174, allocations: 28 kB / 387.7 MB, free: 8.625 MB / 362.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.0008728/0.01262, allocations: 435 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01275, allocations: 55.59 kB / 388.2 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01275, allocations: 4 kB / 388.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.01279, allocations: 39.61 kB / 388.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01303, allocations: 33.48 kB / 388.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.01372, allocations: 0.6326 MB / 388.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.0138, allocations: 131.2 kB / 389 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.627e-05/0.01384, allocations: 20.41 kB / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.01388, allocations: 16.5 kB / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01388, allocations: 0 / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of Templates: time 0.004414/0.01829, allocations: 1.878 MB / 391 MB, free: 5.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.188480495940894]