Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001787/0.001787, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002044/0.002044, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2528/0.2528, allocations: 46.94 MB / 360.8 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 79.88 kB / 0.4967 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4283, allocations: 66.08 MB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003475/0.4318, allocations: 1.611 MB / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.4329, allocations: 0.5148 MB / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.4329, allocations: 0 / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.4333, allocations: 79.77 kB / 0.5633 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.4336, allocations: 107.6 kB / 0.5634 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.434, allocations: 103 kB / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.4341, allocations: 87.75 kB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4343, allocations: 10.67 kB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.4343, allocations: 39.83 kB / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.4345, allocations: 63.8 kB / 0.5637 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.4345, allocations: 4 kB / 0.5637 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.4346, allocations: 43.98 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.4347, allocations: 19.88 kB / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.4347, allocations: 27.78 kB / 0.5638 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.4349, allocations: 103.2 kB / 0.5639 GB, free: 1.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4349, allocations: 4 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4349, allocations: 0 / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4349, allocations: 0 / 0.5639 GB, free: 1.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000566/0.4355, allocations: 341.6 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4355, allocations: 8.031 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.4356, allocations: 16.84 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.4358, allocations: 150.9 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4358, allocations: 4.375 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.4359, allocations: 384 / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.436, allocations: 58.19 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.436, allocations: 4.188 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.436, allocations: 3.938 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.436, allocations: 0 / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.958e-05/0.4361, allocations: 31.95 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.4365, allocations: 236.5 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.4367, allocations: 46.44 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.4367, allocations: 20.94 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.4368, allocations: 0 / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.4368, allocations: 34.56 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.4368, allocations: 4 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001004/0.4378, allocations: 217.3 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.4379, allocations: 51.41 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.4381, allocations: 210.3 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.4382, allocations: 33.7 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4383, allocations: 112 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.4383, allocations: 35.8 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.4384, allocations: 21.72 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.4386, allocations: 330.8 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.4386, allocations: 23.98 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.4387, allocations: 27.91 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.4389, allocations: 60.83 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4389, allocations: 4 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002093/0.4391, allocations: 101.8 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4391, allocations: 4 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.4391, allocations: 80 / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4391, allocations: 0 / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4393, allocations: 19.98 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4393, allocations: 11.86 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.4393, allocations: 7.984 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.4393, allocations: 4 kB / 0.5661 GB, free: 14.81 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 (8): * Single equations (assignments): 8 * 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.0001251/0.4394, allocations: 129.8 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.4395, allocations: 11.91 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.4398, allocations: 123 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4398, allocations: 0 / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4398, allocations: 0 / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4398, allocations: 4.406 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.4403, allocations: 346.9 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4403, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.4404, allocations: 15.94 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4404, allocations: 7.984 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4404, allocations: 4 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4404, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.897e-05/0.4404, allocations: 11.92 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.4407, allocations: 204.3 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.4407, allocations: 11.91 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4408, allocations: 4.031 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.4408, allocations: 11.94 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.4409, allocations: 11.92 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.4409, allocations: 0 / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.441, allocations: 164.2 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.441, allocations: 0 / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.4413, allocations: 23.98 kB / 0.5671 GB, free: 13.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001881/0.4432, allocations: 482.5 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.4434, allocations: 59.91 kB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4434, allocations: 0 / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.4435, allocations: 36.12 kB / 0.5677 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.4439, allocations: 22.73 kB / 0.5677 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.4445, allocations: 258.6 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.4446, allocations: 100.6 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.4447, allocations: 8.656 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.4447, allocations: 19.44 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4447, allocations: 0 / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Templates: time 0.005003/0.4497, allocations: 1.419 MB / 0.5694 GB, free: 11.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.32894404232502]