Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 122.1 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 195.5 kB / 21.44 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.775/1.775, allocations: 225.6 MB / 249.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] 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.2295/0.2295, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.66 kB / 492.3 MB, free: 29.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.118, allocations: 64.26 MB / 0.5435 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003017/0.121, allocations: 1.572 MB / 0.545 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007766/0.1218, allocations: 407.2 kB / 0.5454 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.1218, allocations: 0 / 0.5454 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.122, allocations: 27.84 kB / 0.5455 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1222, allocations: 35.84 kB / 0.5455 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1225, allocations: 107.7 kB / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1226, allocations: 55.89 kB / 0.5456 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.1227, allocations: 11.92 kB / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.1227, allocations: 15.94 kB / 0.5457 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.1228, allocations: 23.86 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1228, allocations: 0 / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.1229, allocations: 43.91 kB / 0.5457 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.1229, allocations: 7.938 kB / 0.5457 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.123, allocations: 27.8 kB / 0.5458 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1231, allocations: 67.73 kB / 0.5458 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1231, allocations: 8 kB / 0.5458 GB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1231, allocations: 0 / 0.5458 GB, free: 1.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.1232, allocations: 3.938 kB / 0.5458 GB, free: 1.168 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004733/0.1236, allocations: 375 kB / 0.5462 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1237, allocations: 8.031 kB / 0.5462 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1237, allocations: 8.891 kB / 0.5462 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1239, allocations: 198.1 kB / 0.5464 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1239, allocations: 384 / 0.5464 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1239, allocations: 384 / 0.5464 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1241, allocations: 53.81 kB / 0.5465 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1241, allocations: 3.984 kB / 0.5465 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1241, allocations: 0 / 0.5465 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1241, allocations: 4 kB / 0.5465 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.981e-05/0.1242, allocations: 19.98 kB / 0.5465 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1246, allocations: 284.7 kB / 0.5468 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.1248, allocations: 50.56 kB / 0.5468 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.1249, allocations: 12.94 kB / 0.5468 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1249, allocations: 4 kB / 0.5468 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.125, allocations: 34.56 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.562e-06/0.125, allocations: 0 / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005697/0.1255, allocations: 145.5 kB / 0.547 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.1256, allocations: 51.41 kB / 0.547 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1257, allocations: 138.1 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1257, allocations: 29.7 kB / 0.5472 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.1258, allocations: 96.08 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1258, allocations: 19.84 kB / 0.5473 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1259, allocations: 17.72 kB / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.126, allocations: 326.7 kB / 0.5476 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.1261, allocations: 19.98 kB / 0.5477 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.1262, allocations: 27.92 kB / 0.5477 GB, free: 15.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1263, allocations: 56.81 kB / 0.5477 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1263, allocations: 0 / 0.5477 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001869/0.1265, allocations: 81.62 kB / 0.5478 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1265, allocations: 8 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1265, allocations: 4 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1265, allocations: 0 / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.1266, allocations: 11.98 kB / 0.5478 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1266, allocations: 0 / 0.5478 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.1266, allocations: 4.25 kB / 0.5478 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1266, allocations: 11.92 kB / 0.5479 GB, free: 14.88 MB / 414.1 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 (5): * Single equations (assignments): 5 * 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 9.428e-05/0.1267, allocations: 125.7 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1268, allocations: 3.953 kB / 0.548 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.127, allocations: 102 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.127, allocations: 3.984 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.127, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.127, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1275, allocations: 350.4 kB / 0.5484 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1275, allocations: 0 / 0.5484 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.1275, allocations: 19.98 kB / 0.5484 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1275, allocations: 0 / 0.5484 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1275, allocations: 4 kB / 0.5484 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1275, allocations: 3.938 kB / 0.5484 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1275, allocations: 0 / 0.5484 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1278, allocations: 183.7 kB / 0.5486 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.1278, allocations: 81.06 kB / 0.5487 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1279, allocations: 11.98 kB / 0.5487 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.1279, allocations: 7.922 kB / 0.5487 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.128, allocations: 8 kB / 0.5487 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.128, allocations: 0 / 0.5487 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.692e-05/0.1281, allocations: 113.6 kB / 0.5488 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1281, allocations: 0 / 0.5488 GB, free: 13.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1283, allocations: 15.94 kB / 0.5488 GB, free: 13.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001383/0.1297, allocations: 417.1 kB / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1299, allocations: 43.97 kB / 0.5493 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1299, allocations: 0 / 0.5493 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.13, allocations: 31.91 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1303, allocations: 12 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.1307, allocations: 169.4 kB / 0.5495 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.131, allocations: 0.7039 MB / 0.5502 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.1311, allocations: 15.97 kB / 0.5502 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.1311, allocations: 11.44 kB / 0.5502 GB, free: 12.47 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1311, allocations: 0 / 0.5502 GB, free: 12.47 MB / 414.1 MB Notification: Performance of Templates: time 0.00363/0.1348, allocations: 1.107 MB / 0.5513 GB, free: 11.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.304725271649659]