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.001116/0.001116, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00103/0.00103, allocations: 160.5 kB / 24.55 MB, free: 16 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.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.566 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.2918/0.2918, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.383e-06/1.383e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.56e-05, allocations: 4.984 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002571/0.002597, allocations: 2.015 MB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003653, allocations: 0.8092 MB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.003731, allocations: 0 / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.00417, allocations: 179.2 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.00452, allocations: 223.1 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.005003, allocations: 403.1 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.005276, allocations: 315 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.005431, allocations: 44.91 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.005583, allocations: 155.6 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.005754, allocations: 163.6 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.005782, allocations: 12 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.005865, allocations: 43.88 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.006023, allocations: 179.4 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.006109, allocations: 95.58 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.006466, allocations: 326.7 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006469, allocations: 0 / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00647, allocations: 0 / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.006476, allocations: 0 / 383.7 MB, free: 13.15 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.0007804/0.007256, allocations: 0.8872 MB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.007294, allocations: 8.031 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.007377, allocations: 72.52 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.007726, allocations: 381.2 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.007742, allocations: 12.31 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.007774, allocations: 8.375 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.008005, allocations: 135.7 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.008015, allocations: 192 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.00803, allocations: 4.375 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.008039, allocations: 8.375 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.008227, allocations: 39.91 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.008898, allocations: 0.6973 MB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.009054, allocations: 102.4 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.009099, allocations: 31.44 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.009132, allocations: 11.92 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.009158, allocations: 37.39 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.415e-06/0.00916, allocations: 0 / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008684/0.01003, allocations: 487.4 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.01007, allocations: 88.97 kB / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.01064, allocations: 0.7495 MB / 387.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.01066, allocations: 25.7 kB / 387.5 MB, free: 9.176 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.01085, allocations: 351.2 kB / 387.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.01089, allocations: 63.48 kB / 387.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.01094, allocations: 39.36 kB / 387.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01107, allocations: 492.4 kB / 388.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.257e-05/0.01112, allocations: 23.98 kB / 388.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.01119, allocations: 55.34 kB / 388.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.0113, allocations: 83.3 kB / 388.5 MB, free: 8.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0113, allocations: 4 kB / 388.5 MB, free: 8.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002031/0.0115, allocations: 170 kB / 388.7 MB, free: 7.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.01152, allocations: 10.81 kB / 388.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01152, allocations: 0 / 388.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01154, allocations: 0 / 388.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.01211, allocations: 51.91 kB / 388.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.01212, allocations: 7.938 kB / 388.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.01219, allocations: 35.86 kB / 388.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.0122, allocations: 8 kB / 388.8 MB, free: 7.766 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.072e-05/0.01229, allocations: 160.6 kB / 389 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.01236, allocations: 63.62 kB / 389 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.01261, allocations: 206.9 kB / 389.2 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01262, allocations: 4 kB / 389.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01262, allocations: 3.938 kB / 389.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01262, allocations: 0 / 389.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.01326, allocations: 0.7778 MB / 390 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01326, allocations: 8 kB / 390 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.01336, allocations: 55.83 kB / 390.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01336, allocations: 3.984 kB / 390.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01337, allocations: 4 kB / 390.1 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01338, allocations: 4 kB / 390.1 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01338, allocations: 0 / 390.1 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.01363, allocations: 450.6 kB / 390.5 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.01369, allocations: 71.5 kB / 390.6 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.01372, allocations: 11.94 kB / 390.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01382, allocations: 23.98 kB / 390.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.01388, allocations: 19.95 kB / 390.7 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.01389, allocations: 8 kB / 390.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.01422, allocations: 499 kB / 391.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01422, allocations: 0 / 391.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01444, allocations: 67.94 kB / 391.2 MB, free: 5.281 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.0007878/0.01522, allocations: 369.4 kB / 391.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.01541, allocations: 95.56 kB / 391.7 MB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.01542, allocations: 0 / 391.7 MB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.01549, allocations: 63.53 kB / 391.7 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.01587, allocations: 97.67 kB / 391.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.01669, allocations: 0.8358 MB / 392.7 MB, free: 3.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.01678, allocations: 149.1 kB / 392.8 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.01689, allocations: 75.52 kB / 392.9 MB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.01697, allocations: 44.48 kB / 392.9 MB, free: 3.613 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01697, allocations: 0 / 392.9 MB, free: 3.613 MB / 362.7 MB Notification: Performance of Templates: time 0.007447/0.02442, allocations: 5.476 MB / 398.4 MB, free: 14.18 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.498226386960596]