Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.00151/0.00151, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001577/0.001577, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 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.559/1.559, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3885/0.3885, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.955e-05/4.138e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003826/0.003867, allocations: 1.837 MB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.005437, allocations: 0.6926 MB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.005541, allocations: 0 / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005905/0.006131, allocations: 179.3 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.006672, allocations: 183.2 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.007492, allocations: 323.2 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.007866, allocations: 239.2 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.008057, allocations: 45.77 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.008261, allocations: 127.6 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.008496, allocations: 147.7 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.008534, allocations: 12 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.008647, allocations: 39.94 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.008803, allocations: 107.7 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.008927, allocations: 71.7 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.009357, allocations: 287 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.009362, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.009363, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.00937, allocations: 0 / 381.5 MB, free: 14.61 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.001113/0.01048, allocations: 0.5896 MB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.01052, allocations: 8.031 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.01063, allocations: 52.66 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.01112, allocations: 304 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.01114, allocations: 8.375 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.01118, allocations: 16.33 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.01167, allocations: 183.5 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01169, allocations: 192 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.01171, allocations: 8.375 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.01172, allocations: 384 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.01226, allocations: 155.8 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.01338, allocations: 0.5586 MB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.01411, allocations: 149.2 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.01438, allocations: 77.77 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.01441, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.01446, allocations: 38.5 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.01446, allocations: 0 / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.002913/0.01738, allocations: 0.7848 MB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.01746, allocations: 101 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.01825, allocations: 0.5838 MB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002976/0.01855, allocations: 29.7 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.01874, allocations: 196.5 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/0.01882, allocations: 63.44 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.0189, allocations: 29.72 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.01912, allocations: 354.8 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.01961, allocations: 135.9 kB / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.02011, allocations: 153.6 kB / 386 MB, free: 9.871 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009459/0.02106, allocations: 297.4 kB / 386.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02106, allocations: 4 kB / 386.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001162/0.02222, allocations: 373.1 kB / 386.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.02225, allocations: 6.969 kB / 386.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.02225, allocations: 4 kB / 386.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.02228, allocations: 0 / 386.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.02264, allocations: 67.86 kB / 386.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.02265, allocations: 4.156 kB / 386.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.0229, allocations: 35.95 kB / 386.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.02292, allocations: 11.98 kB / 386.8 MB, free: 9.074 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.0002359/0.02315, allocations: 189.7 kB / 387 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.02326, allocations: 48.47 kB / 387 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.0245, allocations: 412.8 kB / 387.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.0245, allocations: 3.984 kB / 387.4 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.02452, allocations: 11.88 kB / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.02452, allocations: 0 / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.0263, allocations: 0.8095 MB / 388.3 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.02631, allocations: 4 kB / 388.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.02664, allocations: 75.81 kB / 388.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.02664, allocations: 0 / 388.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.02666, allocations: 4 kB / 388.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.02666, allocations: 0 / 388.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.02666, allocations: 0 / 388.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.02788, allocations: 0.5373 MB / 388.9 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.02798, allocations: 47.7 kB / 388.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.02803, allocations: 4 kB / 388.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.02833, allocations: 43.94 kB / 389 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.02843, allocations: 23.91 kB / 389 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.02846, allocations: 4 kB / 389 MB, free: 6.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005792/0.02903, allocations: 439.1 kB / 389.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02903, allocations: 0 / 389.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003981/0.02943, allocations: 59.89 kB / 389.5 MB, free: 6.312 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.002028/0.03146, allocations: 417.6 kB / 389.9 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.0326, allocations: 299.7 kB / 390.2 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.03261, allocations: 4 kB / 390.2 MB, free: 5.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.03313, allocations: 163.7 kB / 390.4 MB, free: 5.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.03379, allocations: 63.81 kB / 390.4 MB, free: 5.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.03546, allocations: 0.733 MB / 391.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.03571, allocations: 207.5 kB / 391.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.03591, allocations: 78.53 kB / 391.4 MB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.03602, allocations: 28.5 kB / 391.5 MB, free: 4.441 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.03602, allocations: 0 / 391.5 MB, free: 4.441 MB / 362.7 MB Notification: Performance of Templates: time 0.009179/0.0452, allocations: 3.834 MB / 395.3 MB, free: 0.6406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.0443548950133845]