Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001363/0.001363, allocations: 104.6 kB / 21.22 MB, free: 0.5078 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.001392/0.001392, allocations: 186.5 kB / 24.52 MB, free: 3.895 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.541/1.541, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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.2785/0.2785, allocations: 44.92 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.89 kB / 497.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4546, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003557/0.4581, allocations: 1.584 MB / 0.5504 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009467/0.4591, allocations: 415 kB / 0.5508 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.4591, allocations: 3.938 kB / 0.5508 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.4594, allocations: 34.73 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.4596, allocations: 35.61 kB / 0.5508 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.4599, allocations: 86.5 kB / 0.5509 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.46, allocations: 54.47 kB / 0.551 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.4602, allocations: 24 kB / 0.551 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.4602, allocations: 19.25 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.4603, allocations: 21.8 kB / 0.551 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4603, allocations: 1.688 kB / 0.551 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.4604, allocations: 35.86 kB / 0.5511 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.4605, allocations: 17.27 kB / 0.5511 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.4605, allocations: 27.89 kB / 0.5511 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.4607, allocations: 73.45 kB / 0.5512 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4607, allocations: 0 / 0.5512 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4607, allocations: 5.781 kB / 0.5512 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.4607, allocations: 0 / 0.5512 GB, free: 11.32 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.0005952/0.4613, allocations: 302.9 kB / 0.5515 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4614, allocations: 10.61 kB / 0.5515 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.4614, allocations: 12.19 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.4616, allocations: 140.2 kB / 0.5516 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4616, allocations: 5.844 kB / 0.5516 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.4617, allocations: 1.844 kB / 0.5516 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.4618, allocations: 55.48 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.4618, allocations: 5.609 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4618, allocations: 0 / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4618, allocations: 0 / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4619, allocations: 24.86 kB / 0.5517 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.4624, allocations: 254.6 kB / 0.552 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.4626, allocations: 39.16 kB / 0.552 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.4627, allocations: 14.52 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4627, allocations: 1.062 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.4627, allocations: 35.7 kB / 0.5521 GB, free: 10.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4627, allocations: 4 kB / 0.5521 GB, free: 10.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005762/0.4633, allocations: 136.3 kB / 0.5522 GB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4634, allocations: 52.59 kB / 0.5522 GB, free: 10.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.4636, allocations: 163.2 kB / 0.5524 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.4636, allocations: 30.89 kB / 0.5524 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.4637, allocations: 100.2 kB / 0.5525 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.4637, allocations: 17.14 kB / 0.5525 GB, free: 10 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.4637, allocations: 21.97 kB / 0.5526 GB, free: 9.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4639, allocations: 329.1 kB / 0.5529 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.661e-05/0.464, allocations: 18.61 kB / 0.5529 GB, free: 9.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.4641, allocations: 18.8 kB / 0.5529 GB, free: 9.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.4642, allocations: 40.16 kB / 0.5529 GB, free: 9.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4642, allocations: 4 kB / 0.5529 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.4644, allocations: 84.45 kB / 0.553 GB, free: 9.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4644, allocations: 5.438 kB / 0.553 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4644, allocations: 0 / 0.553 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4644, allocations: 1.25 kB / 0.553 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.4645, allocations: 13.53 kB / 0.553 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4645, allocations: 0 / 0.553 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.4646, allocations: 7.359 kB / 0.5531 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4646, allocations: 5 kB / 0.5531 GB, free: 9.539 MB / 398.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 0.0001093/0.4647, allocations: 125 kB / 0.5532 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.4647, allocations: 7.547 kB / 0.5532 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.465, allocations: 97.78 kB / 0.5533 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.465, allocations: 1.188 kB / 0.5533 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.465, allocations: 320 / 0.5533 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.465, allocations: 0 / 0.5533 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.4655, allocations: 330.7 kB / 0.5536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4655, allocations: 0 / 0.5536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.4655, allocations: 13.42 kB / 0.5536 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4655, allocations: 4.938 kB / 0.5536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4655, allocations: 5.062 kB / 0.5536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.4656, allocations: 3.938 kB / 0.5536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4656, allocations: 0 / 0.5536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.4658, allocations: 180 kB / 0.5538 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.4658, allocations: 6.141 kB / 0.5538 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4658, allocations: 5.172 kB / 0.5538 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.4659, allocations: 7.312 kB / 0.5538 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.4659, allocations: 5.141 kB / 0.5538 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4659, allocations: 2.344 kB / 0.5538 GB, free: 8.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.4661, allocations: 128.6 kB / 0.5539 GB, free: 8.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4661, allocations: 0 / 0.5539 GB, free: 8.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000251/0.4663, allocations: 22.59 kB / 0.554 GB, free: 8.707 MB / 398.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.001499/0.4678, allocations: 402.3 kB / 0.5543 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.4681, allocations: 47.31 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4681, allocations: 0 / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.4681, allocations: 22.33 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.4685, allocations: 26.12 kB / 0.5544 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.469, allocations: 187.7 kB / 0.5546 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4694, allocations: 0.6997 MB / 0.5553 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.828e-05/0.4694, allocations: 4.219 kB / 0.5553 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.4695, allocations: 11.62 kB / 0.5553 GB, free: 7.59 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4695, allocations: 0 / 0.5553 GB, free: 7.59 MB / 398.1 MB Notification: Performance of Templates: time 0.00455/0.474, allocations: 1.124 MB / 0.5564 GB, free: 7.008 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.6889279978349805]