Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001295/0.001295, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001417/0.001417, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.47/1.47, 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.25/0.25, allocations: 46.96 MB / 360.8 MB, free: 3.922 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 83.88 kB / 0.4967 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4749, allocations: 66.09 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004293/0.4792, allocations: 1.635 MB / 0.5628 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4805, allocations: 0.5303 MB / 0.5633 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.4806, allocations: 0 / 0.5633 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.4813, allocations: 459.1 kB / 0.5637 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.482, allocations: 299.3 kB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.4824, allocations: 130.9 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.4828, allocations: 171.6 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.4829, allocations: 8 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.4831, allocations: 111.8 kB / 0.5644 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.4834, allocations: 247.5 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.4834, allocations: 0 / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.4836, allocations: 43.91 kB / 0.5647 GB, free: 380 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.4837, allocations: 79.64 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.4838, allocations: 67.3 kB / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.4843, allocations: 269.1 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4843, allocations: 0 / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4843, allocations: 0 / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4843, allocations: 0 / 0.5651 GB, free: 15.96 MB / 414.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.001017/0.4853, allocations: 0.5815 MB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4854, allocations: 15.97 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.4855, allocations: 40.66 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.4859, allocations: 246.7 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.4859, allocations: 384 / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.4859, allocations: 4.375 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.4861, allocations: 50.25 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.4861, allocations: 4.172 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4861, allocations: 3.938 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.4861, allocations: 4 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.4862, allocations: 31.97 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.4868, allocations: 324.3 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.487, allocations: 42.5 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.4871, allocations: 20.94 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.4871, allocations: 0 / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.4871, allocations: 34.56 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.4871, allocations: 0 / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007466/0.4879, allocations: 236.7 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.4879, allocations: 59.41 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.4889, allocations: 0.8612 MB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.489, allocations: 25.7 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4892, allocations: 220 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.4892, allocations: 7.906 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.4893, allocations: 21.72 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000265/0.4895, allocations: 362.7 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.4896, allocations: 19.98 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.4897, allocations: 19.98 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4898, allocations: 48.83 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4898, allocations: 0 / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002443/0.49, allocations: 117.6 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4901, allocations: 4 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.4901, allocations: 4 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.4901, allocations: 4 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.4902, allocations: 19.92 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4902, allocations: 0 / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.4902, allocations: 4 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4902, allocations: 0 / 0.5684 GB, free: 12.39 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.0002198/0.4905, allocations: 217.7 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.4905, allocations: 43.72 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.4908, allocations: 141.1 kB / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4908, allocations: 0 / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4908, allocations: 4 kB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4908, allocations: 0 / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.4914, allocations: 402 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4914, allocations: 3.984 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.4915, allocations: 8 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4915, allocations: 0 / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.4915, allocations: 4 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4915, allocations: 0 / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4915, allocations: 0 / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.4918, allocations: 227.1 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.4919, allocations: 31.72 kB / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4919, allocations: 4 kB / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.492, allocations: 8.109 kB / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.492, allocations: 4 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.492, allocations: 4 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000687/0.4927, allocations: 0.6589 MB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4927, allocations: 0 / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.493, allocations: 23.94 kB / 0.5701 GB, free: 10.55 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.0016/0.4946, allocations: 427.1 kB / 0.5706 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.4948, allocations: 47.91 kB / 0.5706 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4948, allocations: 0 / 0.5706 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.4949, allocations: 23.98 kB / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.4954, allocations: 31.98 kB / 0.5707 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.4967, allocations: 0.8022 MB / 0.5714 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.497, allocations: 224.1 kB / 0.5717 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.497, allocations: 8.031 kB / 0.5717 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.4971, allocations: 11.44 kB / 0.5717 GB, free: 9.098 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4971, allocations: 0 / 0.5717 GB, free: 9.098 MB / 414.1 MB Notification: Performance of Templates: time 0.006171/0.5032, allocations: 1.679 MB / 0.5733 GB, free: 7.422 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.304189754649997]