Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001275/0.001275, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001403/0.001403, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.446/1.446, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.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.2261/0.2261, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.532e-06, allocations: 4 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/3.016e-05, allocations: 6.219 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00303/0.00306, allocations: 1.668 MB / 441.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004167, allocations: 0.5646 MB / 442.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.004225, allocations: 0 / 442.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.004505, allocations: 55.8 kB / 442.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.004843, allocations: 99.47 kB / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.005369, allocations: 182.6 kB / 442.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.005571, allocations: 91.75 kB / 442.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.005693, allocations: 20.14 kB / 442.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.005795, allocations: 43.91 kB / 442.8 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.005912, allocations: 51.88 kB / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.005935, allocations: 4 kB / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.006051, allocations: 47.92 kB / 442.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.006136, allocations: 31.84 kB / 443 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.006177, allocations: 15.92 kB / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.006427, allocations: 111.6 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.006432, allocations: 0 / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006434, allocations: 0 / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.006439, allocations: 0 / 443.1 MB, free: 5.137 MB / 366.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.0006004/0.00704, allocations: 353.5 kB / 443.4 MB, free: 4.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.007077, allocations: 16.03 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.007119, allocations: 8.891 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.007314, allocations: 146.8 kB / 443.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.007329, allocations: 8.375 kB / 443.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.007357, allocations: 384 / 443.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.007549, allocations: 70.16 kB / 443.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.007562, allocations: 192 / 443.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.007577, allocations: 8.125 kB / 443.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.007583, allocations: 4 kB / 443.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.007744, allocations: 39.97 kB / 443.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.008201, allocations: 256.6 kB / 444 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.008468, allocations: 70.41 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.008549, allocations: 28.97 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.008567, allocations: 0 / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.008598, allocations: 34.56 kB / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.008599, allocations: 0 / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001627/0.01023, allocations: 432.9 kB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.01028, allocations: 59.34 kB / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.01049, allocations: 186.8 kB / 444.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.01053, allocations: 33.69 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.01061, allocations: 104.1 kB / 444.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.01067, allocations: 35.69 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.01073, allocations: 29.7 kB / 445 MB, free: 3.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.0109, allocations: 330.8 kB / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.01105, allocations: 47.97 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.01121, allocations: 59.95 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.01152, allocations: 116.8 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.01152, allocations: 0 / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003955/0.01191, allocations: 177.4 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.01194, allocations: 8 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01194, allocations: 0 / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.01196, allocations: 0 / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.01209, allocations: 27.98 kB / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.0121, allocations: 0 / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.01217, allocations: 11.98 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01218, allocations: 4 kB / 445.7 MB, free: 2.312 MB / 366.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.0001312/0.01231, allocations: 133.8 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.01236, allocations: 16.47 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.01285, allocations: 198.2 kB / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01286, allocations: 0 / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.01287, allocations: 4 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01287, allocations: 0 / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.01364, allocations: 447.6 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01364, allocations: 0 / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.01376, allocations: 27.97 kB / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01376, allocations: 0 / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01378, allocations: 8 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01378, allocations: 3.938 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01379, allocations: 8.062 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.01423, allocations: 261.1 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.01424, allocations: 11.91 kB / 446.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.01427, allocations: 4 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01437, allocations: 19.86 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.01443, allocations: 7.984 kB / 446.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01444, allocations: 8 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.01457, allocations: 147.2 kB / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01457, allocations: 0 / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.01485, allocations: 27.94 kB / 447 MB, free: 0.918 MB / 366.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.001882/0.01673, allocations: 485.1 kB / 447.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.01711, allocations: 131.8 kB / 447.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01711, allocations: 0 / 447.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.01729, allocations: 63.89 kB / 447.7 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.01763, allocations: 31.08 kB / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006655/0.01829, allocations: 311.5 kB / 448 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1735/0.1918, allocations: 100.8 kB / 448.1 MB, free: 21.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.1919, allocations: 30.86 kB / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.192, allocations: 20.11 kB / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.302e-06/0.192, allocations: 0 / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of Templates: time 0.005317/0.1973, allocations: 1.632 MB / 449.8 MB, free: 21.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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: 4.683479834347963]