Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001728/0.001728, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00213/0.00213, allocations: 203.5 kB / 23.73 MB, free: 4.379 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2296/0.2296, allocations: 46.96 MB / 360.9 MB, free: 4.109 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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 0.4967 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4462, allocations: 66.04 MB / 0.5612 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.004764/0.4509, allocations: 1.702 MB / 0.5628 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.4533, allocations: 0.9715 MB / 0.5638 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.4535, allocations: 0 / 0.5638 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.4539, allocations: 43.77 kB / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.4543, allocations: 91.61 kB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.4546, allocations: 83.66 kB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.4549, allocations: 103.6 kB / 0.5641 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.455, allocations: 8 kB / 0.5641 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.4551, allocations: 43.8 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.4553, allocations: 39.77 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.4553, allocations: 4 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.4554, allocations: 39.98 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.4555, allocations: 27.91 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.4556, allocations: 27.75 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.4559, allocations: 121.9 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4559, allocations: 0 / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4559, allocations: 0 / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4559, allocations: 0 / 0.5644 GB, free: 0.7852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008098/0.4567, allocations: 337.6 kB / 0.5647 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.4568, allocations: 16.03 kB / 0.5647 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.4569, allocations: 12.84 kB / 0.5647 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.4573, allocations: 150.3 kB / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4573, allocations: 8.359 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.4573, allocations: 4.125 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.4575, allocations: 61.61 kB / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4575, allocations: 0 / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4576, allocations: 0 / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4576, allocations: 0 / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.4577, allocations: 19.98 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.4582, allocations: 236.5 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.4585, allocations: 66.55 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.4586, allocations: 16.86 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.4586, allocations: 0 / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.4588, allocations: 71.38 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.4588, allocations: 0 / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008564/0.4597, allocations: 181.7 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.4597, allocations: 51.41 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.46, allocations: 191.2 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.4601, allocations: 29.64 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.4602, allocations: 108.1 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.4602, allocations: 23.84 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.4603, allocations: 17.72 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.4605, allocations: 326.8 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.4606, allocations: 24.05 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.4607, allocations: 49.62 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.4609, allocations: 61.7 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4609, allocations: 4 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003125/0.4612, allocations: 101.5 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4612, allocations: 8 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4612, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4613, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4614, allocations: 23.98 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.4614, allocations: 0 / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.4615, allocations: 0 / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.4615, allocations: 4 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000165/0.4617, allocations: 136.6 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.4617, allocations: 15.94 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.4621, allocations: 127.1 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4621, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4621, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4621, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000683/0.4628, allocations: 346.9 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4628, allocations: 3.984 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.4629, allocations: 12 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4629, allocations: 32 / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4629, allocations: 4 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4629, allocations: 7.938 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4629, allocations: 3.938 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.4633, allocations: 224.4 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.4634, allocations: 7.953 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.4634, allocations: 0 / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4635, allocations: 4 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.4636, allocations: 11.92 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.4636, allocations: 7.984 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.4638, allocations: 142 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4638, allocations: 8 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004979/0.4643, allocations: 20 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002715/0.467, allocations: 499.1 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.4673, allocations: 51.98 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4673, allocations: 0 / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.4674, allocations: 35.92 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.468, allocations: 29.53 kB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.4687, allocations: 231.3 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.4688, allocations: 88.25 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.845e-05/0.4689, allocations: 25.27 kB / 0.5684 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.469, allocations: 19.38 kB / 0.5684 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.469, allocations: 0 / 0.5684 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Templates: time 0.007871/0.4769, allocations: 1.937 MB / 0.5703 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.424333538860083]