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.001364/0.001364, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001551/0.001551, allocations: 165.3 kB / 24.27 MB, free: 148 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 1.479/1.479, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3513/0.3513, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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 2.214e-06/2.214e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.512e-05/4.733e-05, allocations: 6.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004425/0.004472, allocations: 1.829 MB / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.006028, allocations: 0.7008 MB / 379.8 MB, free: 388 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.006121, allocations: 4 kB / 379.8 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.006689, allocations: 171.4 kB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.007166, allocations: 183.2 kB / 380.2 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.007971, allocations: 315.3 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.00838, allocations: 251.2 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.008566, allocations: 37.8 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.008772, allocations: 119.7 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.009009, allocations: 147.7 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.009044, allocations: 12 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.009158, allocations: 47.86 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.009324, allocations: 111.7 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.00944, allocations: 63.7 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.009899, allocations: 287 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.009904, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.009905, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.009912, allocations: 0 / 381.5 MB, free: 14.66 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.001201/0.01111, allocations: 0.5935 MB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.01116, allocations: 8.031 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.01128, allocations: 48.66 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.01183, allocations: 311.9 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.01185, allocations: 12.38 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.0119, allocations: 12.33 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.01241, allocations: 170.1 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.01243, allocations: 8.125 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.01245, allocations: 8.125 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.01246, allocations: 4 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.013, allocations: 151.8 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.01413, allocations: 0.5587 MB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.01458, allocations: 149.1 kB / 383.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.01488, allocations: 77.77 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.01493, allocations: 4 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.01497, allocations: 34.56 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.01497, allocations: 0 / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.002944/0.01792, allocations: 0.797 MB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.01799, allocations: 85.11 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.01877, allocations: 0.5877 MB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.01881, allocations: 29.7 kB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.01901, allocations: 196.5 kB / 385.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.01909, allocations: 59.44 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.01917, allocations: 37.7 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003868/0.01955, allocations: 350.8 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.02002, allocations: 139.9 kB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.02055, allocations: 157.5 kB / 386.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/0.02149, allocations: 301.5 kB / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.02149, allocations: 0 / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001078/0.02257, allocations: 369.1 kB / 386.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.02259, allocations: 4 kB / 386.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.0226, allocations: 7.938 kB / 386.8 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.02263, allocations: 4 kB / 386.8 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.02299, allocations: 67.88 kB / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.023, allocations: 0 / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.02325, allocations: 35.94 kB / 386.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.02327, allocations: 12 kB / 386.9 MB, free: 9.121 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.0002237/0.02349, allocations: 185.7 kB / 387.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.02363, allocations: 47.72 kB / 387.1 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.02492, allocations: 420.8 kB / 387.5 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.02493, allocations: 4 kB / 387.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.02493, allocations: 3.938 kB / 387.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.02494, allocations: 0 / 387.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.02688, allocations: 0.8136 MB / 388.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02688, allocations: 0 / 388.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.02722, allocations: 63.94 kB / 388.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.02723, allocations: 4 kB / 388.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.02725, allocations: 7.984 kB / 388.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.02725, allocations: 4 kB / 388.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.02726, allocations: 0 / 388.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.02847, allocations: 0.5394 MB / 389 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.02855, allocations: 43.75 kB / 389 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.02859, allocations: 0 / 389 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.02888, allocations: 39.95 kB / 389 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.736e-05/0.02898, allocations: 19.97 kB / 389.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.029, allocations: 11.98 kB / 389.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006142/0.02961, allocations: 439.1 kB / 389.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02961, allocations: 0 / 389.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.03001, allocations: 55.88 kB / 389.5 MB, free: 6.371 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.002102/0.03211, allocations: 442.1 kB / 390 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.0332, allocations: 299.7 kB / 390.3 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0332, allocations: 0 / 390.3 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.03373, allocations: 163.8 kB / 390.4 MB, free: 5.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.03439, allocations: 57.55 kB / 390.5 MB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.03594, allocations: 0.7369 MB / 391.2 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.03624, allocations: 211.5 kB / 391.4 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.03643, allocations: 70.55 kB / 391.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.03654, allocations: 36.48 kB / 391.5 MB, free: 4.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03655, allocations: 0 / 391.5 MB, free: 4.512 MB / 362.7 MB Notification: Performance of Templates: time 0.01007/0.04662, allocations: 3.828 MB / 395.4 MB, free: 0.7266 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.842701612971723]