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.001489/0.001489, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001517/0.001517, 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.957/0.957, allocations: 177.1 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.294/0.294, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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 1.744e-06/1.744e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.859e-05, allocations: 2.312 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003005/0.003033, allocations: 1.895 MB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004158, allocations: 0.7086 MB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.004262, allocations: 0 / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.004747, allocations: 171.4 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004514/0.005198, allocations: 187.2 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.005815, allocations: 315.3 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.006109, allocations: 247.3 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.006252, allocations: 33.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.006404, allocations: 131.6 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.006573, allocations: 143.7 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.006601, allocations: 12 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.006696, allocations: 43.92 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.006809, allocations: 107.7 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.006886, allocations: 67.7 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.00722, allocations: 239.1 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.007223, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007224, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.00723, allocations: 0 / 382.3 MB, free: 14.34 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.0007667/0.007997, allocations: 0.6933 MB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.008048, allocations: 8.031 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.891e-05/0.008147, allocations: 44.7 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.008492, allocations: 266.8 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.008506, allocations: 8.375 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.008544, allocations: 20.36 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.008828, allocations: 146 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.008839, allocations: 192 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.008855, allocations: 4.125 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.008864, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.75e-05/0.008961, allocations: 31.97 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.009712, allocations: 0.6271 MB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.009893, allocations: 102.2 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.009949, allocations: 35.48 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.009976, allocations: 4 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.01, allocations: 45.33 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.01001, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009194/0.01092, allocations: 412.5 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.01097, allocations: 85.09 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/0.01164, allocations: 490.7 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.01166, allocations: 29.64 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.0118, allocations: 267.2 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.01186, allocations: 63.5 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.01193, allocations: 39.36 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.01209, allocations: 0.5313 MB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.01217, allocations: 27.98 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/0.01225, allocations: 51.34 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.01239, allocations: 87.36 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01239, allocations: 4 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00026/0.01265, allocations: 153.4 kB / 386.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01267, allocations: 4 kB / 386.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01268, allocations: 7.938 kB / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01269, allocations: 4 kB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.01289, allocations: 47.95 kB / 386.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.01289, allocations: 0 / 386.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.01299, allocations: 23.92 kB / 386.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01301, allocations: 8 kB / 386.6 MB, free: 9.762 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 0.0001104/0.01312, allocations: 164.7 kB / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/0.0132, allocations: 47.72 kB / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.01355, allocations: 196.8 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01355, allocations: 8 kB / 387 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01355, allocations: 0 / 387 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01356, allocations: 0 / 387 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007769/0.01434, allocations: 0.6958 MB / 387.7 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01434, allocations: 0 / 387.7 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.01449, allocations: 47.91 kB / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01449, allocations: 0 / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.01451, allocations: 11.98 kB / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01451, allocations: 0 / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01451, allocations: 4 kB / 387.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.01485, allocations: 428.4 kB / 388.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.01491, allocations: 43.7 kB / 388.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.01494, allocations: 4 kB / 388.3 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.01509, allocations: 23.97 kB / 388.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.01516, allocations: 19.97 kB / 388.3 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.01517, allocations: 7.938 kB / 388.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.01545, allocations: 331 kB / 388.6 MB, free: 7.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01545, allocations: 0 / 388.6 MB, free: 7.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.01579, allocations: 47.94 kB / 388.7 MB, free: 7.633 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.0009977/0.01678, allocations: 392.1 kB / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01703, allocations: 95.58 kB / 389.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01704, allocations: 7.938 kB / 389.2 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.01715, allocations: 63.53 kB / 389.2 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.01765, allocations: 67.03 kB / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.01857, allocations: 0.5924 MB / 389.9 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.991e-05/0.01867, allocations: 120.3 kB / 390 MB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.01881, allocations: 54.53 kB / 390.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.0189, allocations: 28.5 kB / 390.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0189, allocations: 0 / 390.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of Templates: time 0.007628/0.02653, allocations: 3.823 MB / 393.9 MB, free: 2.527 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.4020453873090446]