Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001426/0.001426, allocations: 107.1 kB / 20.44 MB, free: 1.355 MB / 14.72 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.001575/0.001575, allocations: 212.7 kB / 23.73 MB, free: 4.531 MB / 14.72 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2462/0.2462, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 63.91 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4514, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003779/0.4552, allocations: 1.596 MB / 0.5626 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.4564, allocations: 0.5154 MB / 0.5631 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.4564, allocations: 3.938 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.4567, allocations: 31.8 kB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.457, allocations: 71.67 kB / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.4573, allocations: 92.33 kB / 0.5633 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.4575, allocations: 63.83 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4576, allocations: 8 kB / 0.5634 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/0.4576, allocations: 27.86 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.4577, allocations: 19.86 kB / 0.5635 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.4577, allocations: 8 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.832e-05/0.4578, allocations: 35.97 kB / 0.5635 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.4579, allocations: 11.94 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.4579, allocations: 19.81 kB / 0.5635 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.4581, allocations: 86.03 kB / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4581, allocations: 0 / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4581, allocations: 0 / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4581, allocations: 4 kB / 0.5636 GB, free: 1.574 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.0005237/0.4587, allocations: 305.9 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4587, allocations: 8.031 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.4587, allocations: 12.89 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.4589, allocations: 136.9 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.459, allocations: 384 / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.459, allocations: 4.375 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.4591, allocations: 57.73 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4592, allocations: 0 / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4592, allocations: 0 / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4592, allocations: 0 / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.96e-05/0.4593, allocations: 23.98 kB / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.4597, allocations: 220.5 kB / 0.5643 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.4599, allocations: 46.5 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.46, allocations: 16.94 kB / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.46, allocations: 0 / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.46, allocations: 34.56 kB / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.46, allocations: 0 / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006278/0.4607, allocations: 141.4 kB / 0.5646 GB, free: 484 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.4607, allocations: 59.41 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4609, allocations: 152.4 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4609, allocations: 25.7 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.461, allocations: 92.14 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.461, allocations: 23.78 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.4611, allocations: 17.72 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4612, allocations: 326.8 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.4613, allocations: 15.98 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.4614, allocations: 23.92 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4615, allocations: 56.95 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4615, allocations: 0 / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000211/0.4617, allocations: 81.62 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4617, allocations: 4 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4618, allocations: 288 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4618, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.4618, allocations: 15.98 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4619, allocations: 0 / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.4619, allocations: 8 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4619, allocations: 0 / 0.5654 GB, free: 15.53 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 0.000104/0.462, allocations: 121.8 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.4621, allocations: 15.88 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.4623, allocations: 97.98 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4623, allocations: 0 / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4623, allocations: 0 / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4623, allocations: 0 / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.4628, allocations: 294.1 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4628, allocations: 0 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.4629, allocations: 15.98 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4629, allocations: 0 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4629, allocations: 0 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4629, allocations: 0 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4629, allocations: 0 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4631, allocations: 187.6 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.4632, allocations: 3.953 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.4632, allocations: 4 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.4632, allocations: 4 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.4633, allocations: 11.92 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4633, allocations: 7.938 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.4634, allocations: 115.2 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4634, allocations: 0 / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.4637, allocations: 15.94 kB / 0.5663 GB, free: 14.57 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.001662/0.4653, allocations: 436.1 kB / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.4655, allocations: 51.97 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4655, allocations: 0 / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.4656, allocations: 23.92 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.466, allocations: 20.61 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.4665, allocations: 178.2 kB / 0.567 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.189e-05/0.4666, allocations: 87.02 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.4666, allocations: 15.77 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.4667, allocations: 11.44 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4667, allocations: 0 / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Templates: time 0.004486/0.4712, allocations: 1.183 MB / 0.5682 GB, free: 12.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.342581103090197]