Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0008297/0.0008297, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0008834/0.0008834, allocations: 162.5 kB / 24.99 MB, free: 8.793 MB / 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.9551/0.9551, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2789/0.2789, allocations: 34.26 MB / 296 MB, free: 0.7539 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.CombiTable2Ds.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.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.486e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002349/0.002373, allocations: 2.033 MB / 380.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.003279, allocations: 0.7942 MB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.003355, allocations: 4 kB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.003828, allocations: 187.2 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005754/0.004403, allocations: 219 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.004937, allocations: 403.1 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.005182, allocations: 311 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.005293, allocations: 40.92 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.00542, allocations: 155.6 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.005558, allocations: 155.6 kB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.005583, allocations: 15.94 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.897e-05/0.005652, allocations: 47.86 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.00577, allocations: 171.5 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.00584, allocations: 99.56 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.006101, allocations: 334.6 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006103, allocations: 0 / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006104, allocations: 0 / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006109, allocations: 0 / 383 MB, free: 14.01 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.0006585/0.006767, allocations: 0.8678 MB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.006799, allocations: 12.02 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.006867, allocations: 68.52 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.007171, allocations: 385.2 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.007181, allocations: 8.375 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.007204, allocations: 16.38 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.007387, allocations: 137.2 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.007397, allocations: 4.172 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.007407, allocations: 4.125 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.007413, allocations: 4 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.007485, allocations: 39.91 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.008046, allocations: 0.7051 MB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.008177, allocations: 94.23 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.00822, allocations: 43.42 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.008241, allocations: 4 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.008259, allocations: 37.39 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.00826, allocations: 0 / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007142/0.008974, allocations: 495.2 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.009008, allocations: 77.11 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.009541, allocations: 0.7534 MB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.009556, allocations: 29.7 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.009727, allocations: 359.2 kB / 387.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.009767, allocations: 55.5 kB / 387.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.009816, allocations: 43.36 kB / 387.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.009923, allocations: 488.4 kB / 387.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.009977, allocations: 23.98 kB / 387.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.437e-05/0.01004, allocations: 51.34 kB / 387.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.01015, allocations: 87.38 kB / 387.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01015, allocations: 0 / 387.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001949/0.01034, allocations: 181.2 kB / 388 MB, free: 8.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.01035, allocations: 4 kB / 388 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01036, allocations: 3.938 kB / 388 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.01037, allocations: 4 kB / 388 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.0105, allocations: 47.91 kB / 388 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.01051, allocations: 4 kB / 388 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.01058, allocations: 31.86 kB / 388.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.01059, allocations: 4 kB / 388.1 MB, free: 8.637 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 8.648e-05/0.01068, allocations: 160.6 kB / 388.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.01074, allocations: 63.62 kB / 388.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.01099, allocations: 223.1 kB / 388.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01099, allocations: 0 / 388.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01099, allocations: 7.875 kB / 388.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.011, allocations: 4 kB / 388.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.01159, allocations: 0.7737 MB / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01159, allocations: 0 / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.01169, allocations: 52.66 kB / 389.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.0117, allocations: 0 / 389.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.01171, allocations: 4 kB / 389.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01171, allocations: 7.984 kB / 389.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01171, allocations: 0 / 389.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.01197, allocations: 460.3 kB / 389.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.01203, allocations: 75.56 kB / 389.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.01206, allocations: 3.984 kB / 389.9 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01216, allocations: 19.98 kB / 389.9 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.01222, allocations: 19.97 kB / 389.9 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.01222, allocations: 8 kB / 389.9 MB, free: 6.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003618/0.01259, allocations: 0.4911 MB / 390.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01259, allocations: 0 / 390.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.01281, allocations: 67.94 kB / 390.5 MB, free: 6.145 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.0007961/0.0136, allocations: 376.9 kB / 390.8 MB, free: 5.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.01378, allocations: 95.52 kB / 390.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01379, allocations: 0 / 390.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.01386, allocations: 55.61 kB / 391 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.01422, allocations: 102.3 kB / 391.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.015, allocations: 0.8358 MB / 391.9 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.01509, allocations: 149.1 kB / 392.1 MB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.0152, allocations: 75.19 kB / 392.1 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.01527, allocations: 40.5 kB / 392.2 MB, free: 4.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01527, allocations: 0 / 392.2 MB, free: 4.5 MB / 362.7 MB Notification: Performance of Templates: time 0.007967/0.02324, allocations: 5.475 MB / 397.7 MB, free: 15.07 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.3658948491793126]