Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 162.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177 MB / 205.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2609/0.2609, allocations: 34.86 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.79e-05, allocations: 2.312 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002654/0.002682, allocations: 2.009 MB / 380.8 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.0037, allocations: 0.8132 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.003783, allocations: 0 / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.004208, allocations: 179.2 kB / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.004586, allocations: 219.1 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.005118, allocations: 403.1 kB / 382.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.005404, allocations: 315 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.005545, allocations: 44.92 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.005687, allocations: 159.6 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.005847, allocations: 159.6 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.005872, allocations: 12 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.00595, allocations: 47.88 kB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004161/0.006366, allocations: 179.4 kB / 383.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.006443, allocations: 95.58 kB / 383.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.006739, allocations: 326.7 kB / 383.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006743, allocations: 0 / 383.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006744, allocations: 0 / 383.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.006749, allocations: 0 / 383.7 MB, free: 13.45 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.0007671/0.007516, allocations: 0.8716 MB / 384.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.007558, allocations: 11.97 kB / 384.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.007649, allocations: 72.52 kB / 384.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.008051, allocations: 393.2 kB / 385 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.008068, allocations: 8.375 kB / 385 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.0081, allocations: 4.375 kB / 385 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.00836, allocations: 139.7 kB / 385.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.008373, allocations: 192 / 385.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.008386, allocations: 4.375 kB / 385.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.008396, allocations: 4.375 kB / 385.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.752e-05/0.008473, allocations: 39.84 kB / 385.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006424/0.009116, allocations: 0.7013 MB / 385.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.00927, allocations: 98.22 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.009312, allocations: 35.44 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.009337, allocations: 4 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.009359, allocations: 37.38 kB / 386.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.983e-06/0.009361, allocations: 4.219 kB / 386.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007994/0.01016, allocations: 487.2 kB / 386.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.01021, allocations: 85.05 kB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.01076, allocations: 0.7534 MB / 387.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.01078, allocations: 29.7 kB / 387.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.01096, allocations: 351.2 kB / 387.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.011, allocations: 63.48 kB / 387.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.01106, allocations: 39.36 kB / 387.9 MB, free: 9.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01117, allocations: 492.4 kB / 388.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.01123, allocations: 23.98 kB / 388.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.0113, allocations: 47.34 kB / 388.4 MB, free: 8.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.01141, allocations: 87.3 kB / 388.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01141, allocations: 0.75 kB / 388.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001997/0.01161, allocations: 177.2 kB / 388.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.01163, allocations: 8 kB / 388.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.01164, allocations: 0 / 388.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01165, allocations: 0 / 388.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.01179, allocations: 55.84 kB / 388.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.0118, allocations: 0 / 388.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.01188, allocations: 35.86 kB / 388.8 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01189, allocations: 8 kB / 388.8 MB, free: 8.07 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.215e-05/0.01198, allocations: 160.6 kB / 388.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.01205, allocations: 67.62 kB / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.01232, allocations: 215 kB / 389.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01233, allocations: 7.938 kB / 389.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01233, allocations: 3.938 kB / 389.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01233, allocations: 0 / 389.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.01297, allocations: 0.7699 MB / 390 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01297, allocations: 0 / 390 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.01308, allocations: 55.83 kB / 390.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.01309, allocations: 8 kB / 390.1 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.0131, allocations: 7.938 kB / 390.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.0131, allocations: 4 kB / 390.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.0131, allocations: 0 / 390.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.01363, allocations: 448.9 kB / 390.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.0137, allocations: 79.48 kB / 390.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.01373, allocations: 8 kB / 390.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01383, allocations: 19.98 kB / 390.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.01391, allocations: 19.95 kB / 390.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.01391, allocations: 4 kB / 390.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00035/0.01426, allocations: 0.4951 MB / 391.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.01426, allocations: 0 / 391.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.0145, allocations: 63.94 kB / 391.2 MB, free: 5.582 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.0009776/0.01548, allocations: 374.1 kB / 391.6 MB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.01568, allocations: 99.5 kB / 391.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01568, allocations: 0 / 391.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.01575, allocations: 59.59 kB / 391.7 MB, free: 5.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.01616, allocations: 93.59 kB / 391.8 MB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.01706, allocations: 0.8319 MB / 392.6 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.826e-05/0.01715, allocations: 149.1 kB / 392.8 MB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.01727, allocations: 79.5 kB / 392.9 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.01735, allocations: 44.5 kB / 392.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01735, allocations: 0 / 392.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of Templates: time 0.007943/0.02529, allocations: 5.478 MB / 398.4 MB, free: 14.48 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.206783927977085]