Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.0009753/0.0009753, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001149/0.001149, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9822/0.9822, allocations: 177.2 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2472/0.2472, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.297e-06/3.297e-06, allocations: 4 kB / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.957e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003352/0.003382, allocations: 1.899 MB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.004592, allocations: 0.6892 MB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.004679, allocations: 0 / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.005082, allocations: 179.3 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.005484, allocations: 187.2 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.006111, allocations: 319.2 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.006408, allocations: 239.3 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.006549, allocations: 41.78 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.006709, allocations: 123.7 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.00702, allocations: 147.7 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.00705, allocations: 12 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.007136, allocations: 43.92 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.007244, allocations: 111.7 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.007317, allocations: 71.7 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.00763, allocations: 239 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.007635, allocations: 3.984 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007636, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007642, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007655/0.008408, allocations: 0.6817 MB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.008445, allocations: 8.031 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.008536, allocations: 44.7 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.008849, allocations: 274.7 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.008863, allocations: 8.375 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.008891, allocations: 16.38 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.00915, allocations: 145.2 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.009162, allocations: 192 / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.009177, allocations: 8.125 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.009185, allocations: 4 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.009289, allocations: 35.91 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.01001, allocations: 0.6232 MB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.01019, allocations: 110.2 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.01024, allocations: 27.5 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.01027, allocations: 7.984 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.01029, allocations: 37.39 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.01029, allocations: 0 / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009844/0.01128, allocations: 416.3 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.01132, allocations: 85.09 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.0118, allocations: 490.7 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002869/0.01209, allocations: 29.7 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.01225, allocations: 263.2 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.01233, allocations: 63.5 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.01239, allocations: 39.36 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.01256, allocations: 0.5352 MB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.01264, allocations: 23.98 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.01274, allocations: 53.22 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.01289, allocations: 87.38 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.0129, allocations: 4 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002792/0.01318, allocations: 153.4 kB / 386.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01319, allocations: 4 kB / 386.5 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01319, allocations: 11.94 kB / 386.6 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.01321, allocations: 0 / 386.6 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.01341, allocations: 51.91 kB / 386.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.01341, allocations: 0 / 386.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01351, allocations: 23.91 kB / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.01353, allocations: 12 kB / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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 9.801e-05/0.01363, allocations: 156.6 kB / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.01372, allocations: 47.94 kB / 386.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.01405, allocations: 204.8 kB / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01406, allocations: 4 kB / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01406, allocations: 0 / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01406, allocations: 0 / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007794/0.01484, allocations: 0.6958 MB / 387.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01485, allocations: 0 / 387.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.01502, allocations: 47.97 kB / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01502, allocations: 0 / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01504, allocations: 4 kB / 387.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.01504, allocations: 4 kB / 387.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01504, allocations: 0 / 387.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.01539, allocations: 436.8 kB / 388.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.01544, allocations: 47.7 kB / 388.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.01547, allocations: 3.984 kB / 388.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.01563, allocations: 20.36 kB / 388.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.01569, allocations: 19.97 kB / 388.3 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.01571, allocations: 8 kB / 388.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002956/0.016, allocations: 327 kB / 388.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.016, allocations: 0 / 388.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.01636, allocations: 59.92 kB / 388.7 MB, free: 7.613 MB / 362.7 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 (18): * Single equations (assignments): 18 * 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.001005/0.01736, allocations: 392.7 kB / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.0176, allocations: 91.59 kB / 389.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01761, allocations: 0 / 389.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.01772, allocations: 67.53 kB / 389.2 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.01821, allocations: 53.56 kB / 389.3 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.01916, allocations: 0.5924 MB / 389.9 MB, free: 6.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.707e-05/0.01925, allocations: 124.2 kB / 390 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.01939, allocations: 50.55 kB / 390.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-05/0.01949, allocations: 36.44 kB / 390.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01949, allocations: 4 kB / 390.1 MB, free: 6.297 MB / 362.7 MB Notification: Performance of Templates: time 0.007919/0.02741, allocations: 4.091 MB / 394.2 MB, free: 2.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1598794660530984]