Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001869/0.001869, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002282/0.002282, allocations: 210 kB / 24.48 MB, free: 3.938 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.586/1.586, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.244/0.244, allocations: 44.93 MB / 359.6 MB, free: 6.051 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [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.00217/0.00217, allocations: 67.89 kB / 0.4943 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3247, allocations: 65.47 MB / 0.5582 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003435/0.3282, allocations: 1.668 MB / 0.5598 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3293, allocations: 0.5271 MB / 0.5604 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.3293, allocations: 0 / 0.5604 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.3296, allocations: 75.7 kB / 0.5604 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.3301, allocations: 111.6 kB / 0.5605 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.3306, allocations: 131 kB / 0.5607 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.3308, allocations: 91.73 kB / 0.5608 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.331, allocations: 12.22 kB / 0.5608 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3311, allocations: 47.83 kB / 0.5608 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.3312, allocations: 59.8 kB / 0.5609 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3312, allocations: 8 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3314, allocations: 47.98 kB / 0.5609 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.3315, allocations: 23.86 kB / 0.5609 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.3315, allocations: 35.78 kB / 0.561 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.3319, allocations: 117.8 kB / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3319, allocations: 0 / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3319, allocations: 0 / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3319, allocations: 0 / 0.5611 GB, free: 4.488 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007073/0.3326, allocations: 349.6 kB / 0.5614 GB, free: 4.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3326, allocations: 8.031 kB / 0.5614 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.3327, allocations: 16.89 kB / 0.5614 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3329, allocations: 147 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3329, allocations: 4.375 kB / 0.5616 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.333, allocations: 4.375 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3332, allocations: 61.8 kB / 0.5617 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.3332, allocations: 11.92 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3332, allocations: 0 / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3332, allocations: 0 / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3334, allocations: 43.91 kB / 0.5617 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.3338, allocations: 256.4 kB / 0.562 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.334, allocations: 58.58 kB / 0.562 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.3341, allocations: 20.97 kB / 0.562 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3341, allocations: 4 kB / 0.562 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3342, allocations: 30.56 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3342, allocations: 0 / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001498/0.3357, allocations: 401.3 kB / 0.5624 GB, free: 2.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.3357, allocations: 55.41 kB / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.3359, allocations: 214.2 kB / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.336, allocations: 25.7 kB / 0.5627 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.336, allocations: 108.1 kB / 0.5628 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.3361, allocations: 31.7 kB / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.3361, allocations: 29.7 kB / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3363, allocations: 326.8 kB / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3364, allocations: 43.97 kB / 0.5632 GB, free: 2.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3365, allocations: 47.91 kB / 0.5633 GB, free: 2.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.3368, allocations: 100.8 kB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3368, allocations: 0 / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003635/0.3372, allocations: 145.9 kB / 0.5635 GB, free: 1.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3372, allocations: 6.969 kB / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3372, allocations: 0 / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3372, allocations: 3.938 kB / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3373, allocations: 31.91 kB / 0.5636 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.3373, allocations: 7.938 kB / 0.5636 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.3374, allocations: 7.984 kB / 0.5636 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3374, allocations: 8 kB / 0.5636 GB, free: 1.762 MB / 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 (11): * Single equations (assignments): 11 * 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.0001107/0.3375, allocations: 125.8 kB / 0.5637 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.3376, allocations: 15.91 kB / 0.5637 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.338, allocations: 171 kB / 0.5639 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.338, allocations: 4 kB / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.338, allocations: 3.938 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.338, allocations: 0 / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.3387, allocations: 399.8 kB / 0.5643 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3387, allocations: 7.922 kB / 0.5643 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3388, allocations: 27.98 kB / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3388, allocations: 3.938 kB / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3388, allocations: 7.938 kB / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.3388, allocations: 0 / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3388, allocations: 0 / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.3392, allocations: 257.1 kB / 0.5646 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.3392, allocations: 19.94 kB / 0.5646 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3392, allocations: 4.125 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3393, allocations: 15.98 kB / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3394, allocations: 11.98 kB / 0.5646 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3394, allocations: 0 / 0.5646 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.3395, allocations: 164.2 kB / 0.5648 GB, free: 468 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3395, allocations: 4 kB / 0.5648 GB, free: 464 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.3398, allocations: 31.92 kB / 0.5648 GB, free: 432 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001937/0.3417, allocations: 494.7 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.3421, allocations: 107.8 kB / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3421, allocations: 0 / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.3423, allocations: 55.97 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3427, allocations: 23.92 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.3433, allocations: 334.6 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.3435, allocations: 96.61 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.3435, allocations: 19.42 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3435, allocations: 0 / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Templates: time 0.004652/0.3482, allocations: 2.017 MB / 0.5679 GB, free: 13.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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: 8.031651032157242]