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.001283/0.001283, allocations: 102 kB / 21.22 MB, free: 0.6562 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.0015/0.0015, allocations: 185.2 kB / 24.51 MB, free: 4.016 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.591/1.591, 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.2622/0.2622, allocations: 44.91 MB / 353.5 MB, free: 11.81 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.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.002108/0.002108, allocations: 72.11 kB / 497.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.4891, allocations: 64.31 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.006122/0.4952, allocations: 1.581 MB / 0.5504 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.4966, allocations: 432.3 kB / 0.5508 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.4967, allocations: 1.156 kB / 0.5508 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.497, allocations: 27.36 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.4973, allocations: 38.14 kB / 0.5509 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.4977, allocations: 109.5 kB / 0.551 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.498, allocations: 50.75 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.4981, allocations: 15.33 kB / 0.551 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.4982, allocations: 23.81 kB / 0.551 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.4983, allocations: 26.81 kB / 0.5511 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.4983, allocations: 2.094 kB / 0.5511 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.4984, allocations: 34.58 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.4985, allocations: 8.25 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.4986, allocations: 24.23 kB / 0.5511 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.4989, allocations: 77.25 kB / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4989, allocations: 0 / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4989, allocations: 7.875 kB / 0.5512 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.4989, allocations: 0 / 0.5512 GB, free: 11.29 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.0007737/0.4997, allocations: 298.9 kB / 0.5515 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.4997, allocations: 10.55 kB / 0.5515 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.4998, allocations: 7.953 kB / 0.5515 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.5, allocations: 130.2 kB / 0.5516 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.5001, allocations: 1.75 kB / 0.5516 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.5001, allocations: 1.688 kB / 0.5517 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.5003, allocations: 48.19 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5003, allocations: 1.594 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.5003, allocations: 4 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.5003, allocations: 1.25 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.5005, allocations: 33.38 kB / 0.5517 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.5011, allocations: 249 kB / 0.552 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.5015, allocations: 40.44 kB / 0.552 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.5016, allocations: 19.56 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.5016, allocations: 9.281 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.5016, allocations: 31.94 kB / 0.5521 GB, free: 10.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5016, allocations: 0 / 0.5521 GB, free: 10.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000986/0.5026, allocations: 140.1 kB / 0.5522 GB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.5028, allocations: 55.41 kB / 0.5523 GB, free: 10.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.5031, allocations: 151.4 kB / 0.5524 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.5031, allocations: 26.92 kB / 0.5524 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5033, allocations: 99.09 kB / 0.5525 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.5033, allocations: 14.11 kB / 0.5525 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.5034, allocations: 21.25 kB / 0.5526 GB, free: 9.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003118/0.5037, allocations: 321.2 kB / 0.5529 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.5038, allocations: 23.78 kB / 0.5529 GB, free: 9.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.504, allocations: 20.17 kB / 0.5529 GB, free: 9.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.5043, allocations: 50.83 kB / 0.553 GB, free: 9.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5043, allocations: 5.312 kB / 0.553 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004118/0.5047, allocations: 90.02 kB / 0.553 GB, free: 9.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.5047, allocations: 5.375 kB / 0.553 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5047, allocations: 0 / 0.553 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.5048, allocations: 1.406 kB / 0.553 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.5049, allocations: 9.812 kB / 0.5531 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5049, allocations: 4 kB / 0.5531 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-05/0.505, allocations: 11.3 kB / 0.5531 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.505, allocations: 1.125 kB / 0.5531 GB, free: 9.527 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.000177/0.5052, allocations: 123.1 kB / 0.5532 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.5052, allocations: 11.19 kB / 0.5532 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.5057, allocations: 100.4 kB / 0.5533 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5057, allocations: 0 / 0.5533 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5057, allocations: 4.906 kB / 0.5533 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5057, allocations: 0 / 0.5533 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.5065, allocations: 321.1 kB / 0.5536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5065, allocations: 1.375 kB / 0.5536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.815e-05/0.5066, allocations: 8.969 kB / 0.5536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5067, allocations: 1.031 kB / 0.5536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5067, allocations: 3.938 kB / 0.5536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.5067, allocations: 5 kB / 0.5536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5067, allocations: 4 kB / 0.5536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.5071, allocations: 178.5 kB / 0.5538 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.5071, allocations: 10.58 kB / 0.5538 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.5072, allocations: 3.984 kB / 0.5538 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.5073, allocations: 11.53 kB / 0.5538 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.5074, allocations: 6.266 kB / 0.5538 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.5074, allocations: 5.188 kB / 0.5538 GB, free: 8.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.5075, allocations: 113.8 kB / 0.5539 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5075, allocations: 0 / 0.5539 GB, free: 8.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.508, allocations: 14.72 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.002467/0.5104, allocations: 399.5 kB / 0.5543 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.5108, allocations: 52.89 kB / 0.5544 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5108, allocations: 5.188 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.511, allocations: 23.89 kB / 0.5544 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.5116, allocations: 20.88 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.0008078/0.5124, allocations: 178.1 kB / 0.5546 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.5131, allocations: 0.7023 MB / 0.5553 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.716e-05/0.5132, allocations: 12.31 kB / 0.5553 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.5133, allocations: 14.89 kB / 0.5553 GB, free: 7.582 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5133, allocations: 0 / 0.5553 GB, free: 7.582 MB / 398.1 MB Notification: Performance of Templates: time 0.006883/0.5202, allocations: 1.132 MB / 0.5564 GB, free: 6.992 MB / 398.1 MB " [Timeout remaining time 659] 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.60304275341332]