Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.00132/0.00132, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001408/0.001408, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 44.92 MB / 359.6 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.378, allocations: 65.46 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003048/0.381, allocations: 1.633 MB / 0.5598 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3821, allocations: 0.5416 MB / 0.5604 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.3822, allocations: 4 kB / 0.5604 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.3828, allocations: 455.1 kB / 0.5608 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.3833, allocations: 291.3 kB / 0.5611 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.3836, allocations: 127 kB / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.3839, allocations: 163.6 kB / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.384, allocations: 12.17 kB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.3841, allocations: 107.8 kB / 0.5615 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.3844, allocations: 243.5 kB / 0.5617 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3844, allocations: 7.938 kB / 0.5617 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.3845, allocations: 27.97 kB / 0.5618 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3846, allocations: 75.7 kB / 0.5618 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.3847, allocations: 106.9 kB / 0.5619 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.385, allocations: 257 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.385, allocations: 8 kB / 0.5622 GB, free: 3.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.385, allocations: 0 / 0.5622 GB, free: 3.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.385, allocations: 0 / 0.5622 GB, free: 3.676 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.0007887/0.3858, allocations: 0.566 MB / 0.5627 GB, free: 3.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3859, allocations: 12.03 kB / 0.5627 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.3859, allocations: 40.66 kB / 0.5628 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3863, allocations: 250.8 kB / 0.563 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3863, allocations: 384 / 0.563 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3863, allocations: 4.375 kB / 0.563 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3864, allocations: 50.61 kB / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3864, allocations: 0 / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3864, allocations: 0 / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3865, allocations: 0 / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.798e-05/0.3865, allocations: 19.98 kB / 0.5631 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.387, allocations: 351.8 kB / 0.5634 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3872, allocations: 42.5 kB / 0.5635 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.3872, allocations: 12.91 kB / 0.5635 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3872, allocations: 0 / 0.5635 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3873, allocations: 34.56 kB / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3873, allocations: 0 / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002741/0.3875, allocations: 105.3 kB / 0.5636 GB, free: 2.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.3876, allocations: 51.53 kB / 0.5637 GB, free: 2.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009562/0.3885, allocations: 0.8692 MB / 0.5645 GB, free: 1.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3886, allocations: 25.7 kB / 0.5645 GB, free: 1.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3888, allocations: 216.1 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3888, allocations: 15.89 kB / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3888, allocations: 9.719 kB / 0.5648 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.389, allocations: 362.7 kB / 0.5651 GB, free: 500 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.3891, allocations: 12 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.3891, allocations: 11.98 kB / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.636e-05/0.3892, allocations: 28.78 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3892, allocations: 0 / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000171/0.3894, allocations: 89.41 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3894, allocations: 4 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3894, allocations: 0 / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3894, allocations: 4 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.3895, allocations: 8.094 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3895, allocations: 3.984 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.3895, allocations: 0 / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3895, allocations: 8 kB / 0.5653 GB, free: 320 kB / 398.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 (2): * Single equations (assignments): 2 * 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.000219/0.3898, allocations: 213.7 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.3898, allocations: 43.72 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.3901, allocations: 108.7 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3901, allocations: 4.031 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3901, allocations: 0 / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3901, allocations: 0 / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3904, allocations: 256.6 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3904, allocations: 0 / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.3904, allocations: 8 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3904, allocations: 0 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3904, allocations: 0 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3904, allocations: 3.938 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3904, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.3906, allocations: 199.1 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.3907, allocations: 31.77 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3907, allocations: 0 / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.3908, allocations: 0 / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.3908, allocations: 7.984 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3908, allocations: 4 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006714/0.3915, allocations: 0.6472 MB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3915, allocations: 4.031 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.3918, allocations: 23.89 kB / 0.5668 GB, free: 14.7 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 (2): * Single equations (assignments): 2 * 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.001339/0.3931, allocations: 348.7 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3932, allocations: 23.98 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3932, allocations: 0 / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.3933, allocations: 19.92 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3937, allocations: 22.3 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.3949, allocations: 0.8081 MB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.3955, allocations: 0.8143 MB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.3955, allocations: 19.44 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3955, allocations: 0 / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of Templates: time 0.006956/0.4025, allocations: 3.461 MB / 0.5722 GB, free: 9.246 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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: 7.93135439301841]