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.001321/0.001321, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.001364/0.001364, allocations: 159.8 kB / 24.99 MB, free: 9.328 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.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.238 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.2687/0.2687, allocations: 34.87 MB / 296.6 MB, free: 0.5273 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.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.654e-06/1.654e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.455e-05, allocations: 2.312 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.00349/0.003515, allocations: 1.874 MB / 380.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004821, allocations: 0.7003 MB / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.004937, allocations: 4 kB / 381.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.005454, allocations: 171.4 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.005919, allocations: 179.2 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.006626, allocations: 323.2 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.006981, allocations: 239.3 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.007168, allocations: 45.78 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.00736, allocations: 123.6 kB / 382.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.007573, allocations: 151.7 kB / 382.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.007604, allocations: 12 kB / 382.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.0077, allocations: 43.92 kB / 382.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.007829, allocations: 111.7 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.007909, allocations: 63.7 kB / 382.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.008247, allocations: 235.1 kB / 383 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.00825, allocations: 0 / 383 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.008252, allocations: 4 kB / 383 MB, free: 14.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.008258, allocations: 0 / 383 MB, free: 14.13 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.0008475/0.009106, allocations: 0.6855 MB / 383.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.009154, allocations: 12.03 kB / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.009257, allocations: 48.7 kB / 383.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.009544, allocations: 274.7 kB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.009556, allocations: 8.375 kB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.009583, allocations: 8.375 kB / 384 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.009817, allocations: 143.6 kB / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.009828, allocations: 192 / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.00984, allocations: 4.375 kB / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.009849, allocations: 384 / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.009931, allocations: 43.91 kB / 384.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.01055, allocations: 0.631 MB / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.0107, allocations: 98.16 kB / 385 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.01075, allocations: 35.48 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.01077, allocations: 4 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.01079, allocations: 37.39 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.0108, allocations: 0 / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007773/0.01157, allocations: 427.9 kB / 385.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.01161, allocations: 89.03 kB / 385.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.01195, allocations: 490.7 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.01196, allocations: 25.7 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.01209, allocations: 263.2 kB / 386.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.01214, allocations: 55.5 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.01219, allocations: 39.36 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.01233, allocations: 0.5352 MB / 386.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.01239, allocations: 27.92 kB / 387 MB, free: 9.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.01246, allocations: 51.36 kB / 387 MB, free: 9.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.01257, allocations: 83.36 kB / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01257, allocations: 0 / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002048/0.01278, allocations: 165.3 kB / 387.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01279, allocations: 6.656 kB / 387.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.0128, allocations: 0 / 387.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01281, allocations: 0 / 387.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.01295, allocations: 51.89 kB / 387.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01295, allocations: 4 kB / 387.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.01303, allocations: 23.92 kB / 387.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.01304, allocations: 8 kB / 387.3 MB, free: 9.547 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.462e-05/0.01313, allocations: 168.5 kB / 387.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.01319, allocations: 47.92 kB / 387.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.01346, allocations: 193 kB / 387.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01346, allocations: 0 / 387.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01347, allocations: 4.688 kB / 387.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01347, allocations: 0 / 387.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.01408, allocations: 0.6917 MB / 388.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01408, allocations: 0 / 388.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01419, allocations: 55.89 kB / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.0142, allocations: 8 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.01421, allocations: 4 kB / 388.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01421, allocations: 3.938 kB / 388.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01421, allocations: 4 kB / 388.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.01446, allocations: 418.8 kB / 388.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.0145, allocations: 47.64 kB / 389 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.01453, allocations: 8 kB / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.01462, allocations: 23.97 kB / 389 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.01469, allocations: 19.97 kB / 389 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.0147, allocations: 8 kB / 389 MB, free: 7.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.01491, allocations: 327 kB / 389.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01491, allocations: 0 / 389.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.01514, allocations: 51.94 kB / 389.4 MB, free: 7.418 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.0008065/0.01594, allocations: 385.1 kB / 389.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.0162, allocations: 95.58 kB / 389.9 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.01621, allocations: 4 kB / 389.9 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.01633, allocations: 59.53 kB / 389.9 MB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.01675, allocations: 61.88 kB / 390 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.01748, allocations: 0.608 MB / 390.6 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.477e-05/0.01755, allocations: 112.3 kB / 390.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.747e-05/0.01765, allocations: 54.23 kB / 390.8 MB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.01772, allocations: 28.5 kB / 390.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01772, allocations: 0 / 390.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of Templates: time 0.005671/0.02339, allocations: 3.831 MB / 394.6 MB, free: 2.289 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] 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","",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.1708779640030116]