Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 107.1 kB / 20.44 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 202 kB / 23.72 MB, free: 4.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 83.81 kB / 0.4967 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4577, allocations: 66.08 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.004607/0.4623, allocations: 1.597 MB / 0.5627 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.4647, allocations: 1.239 MB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4648, allocations: 0 / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.4651, allocations: 27.78 kB / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.4656, allocations: 91.61 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.4661, allocations: 111.1 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.4663, allocations: 67.83 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.4664, allocations: 4 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.4665, allocations: 43.72 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.4667, allocations: 23.86 kB / 0.5643 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.4667, allocations: 4 kB / 0.5643 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.4669, allocations: 91.94 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.467, allocations: 15.92 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.4671, allocations: 23.86 kB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.4675, allocations: 145.9 kB / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4675, allocations: 0 / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4675, allocations: 0 / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.4675, allocations: 0 / 0.5646 GB, free: 500 kB / 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.0007171/0.4682, allocations: 325.7 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4683, allocations: 8.031 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.4683, allocations: 8.891 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.4687, allocations: 134.4 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.4687, allocations: 8.359 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.4687, allocations: 12.31 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.469, allocations: 89.66 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.469, allocations: 192 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.469, allocations: 7.938 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.469, allocations: 0 / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.4692, allocations: 19.98 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.4696, allocations: 228.5 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.4699, allocations: 42.5 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.47, allocations: 28.88 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.47, allocations: 0 / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.47, allocations: 34.56 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.47, allocations: 0 / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007431/0.4708, allocations: 149.4 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.4709, allocations: 77.11 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.471, allocations: 141.8 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.4711, allocations: 33.7 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.4711, allocations: 92.12 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.4712, allocations: 19.8 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.4712, allocations: 21.7 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4714, allocations: 318.8 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.4715, allocations: 19.98 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4716, allocations: 71.39 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.4718, allocations: 56.7 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4718, allocations: 4.031 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002309/0.472, allocations: 89.61 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.472, allocations: 4 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.472, allocations: 0 / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.472, allocations: 3.938 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.4721, allocations: 15.98 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4721, allocations: 0 / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.4722, allocations: 4 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.4722, allocations: 3.938 kB / 0.5666 GB, free: 14.25 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.0001438/0.4723, allocations: 123.1 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.4724, allocations: 11.94 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.4726, allocations: 94.06 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4727, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4727, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4727, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.4731, allocations: 302.1 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.4731, allocations: 4.312 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.4732, allocations: 15.98 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4732, allocations: 0 / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4732, allocations: 8 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4732, allocations: 0 / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4732, allocations: 0 / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.4735, allocations: 187.3 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.4735, allocations: 11.94 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4735, allocations: 0 / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.4736, allocations: 12 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.4737, allocations: 8.266 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4737, allocations: 0 / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.4738, allocations: 113.1 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4738, allocations: 0 / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.4741, allocations: 43.8 kB / 0.5675 GB, free: 13.26 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.00223/0.4763, allocations: 0.5208 MB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.4766, allocations: 47.97 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4766, allocations: 0 / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.4767, allocations: 35.91 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4771, allocations: 14.66 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.4776, allocations: 165.6 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.4777, allocations: 83.06 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.556e-05/0.4778, allocations: 19.77 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.4778, allocations: 19.44 kB / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4778, allocations: 3.938 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of Templates: time 0.006107/0.4839, allocations: 1.825 MB / 0.5701 GB, free: 10.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.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.270231489092112]