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.001503/0.001503, 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.001661/0.001661, 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.039/1.039, allocations: 177 MB / 204.8 MB, free: 5.59 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.2576/0.2576, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.573e-06/1.573e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.724e-05, allocations: 3.156 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003005/0.003032, allocations: 1.894 MB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.004041, allocations: 0.7003 MB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.004135, allocations: 4 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.004604, allocations: 171.4 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.004963, allocations: 183.2 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.005437, allocations: 323.2 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.005746, allocations: 239.3 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.005932, allocations: 45.78 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.006076, allocations: 123.7 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.006267, allocations: 147.7 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.006297, allocations: 12 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.006389, allocations: 39.92 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.006515, allocations: 111.7 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.006585, allocations: 67.7 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.00686, allocations: 235.1 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006864, allocations: 4 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.006865, allocations: 0 / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.006872, allocations: 0 / 383 MB, free: 13.8 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.000673/0.007545, allocations: 0.6893 MB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.007587, allocations: 12.03 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.007658, allocations: 44.7 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.007926, allocations: 274.8 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.00794, allocations: 8.375 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.007975, allocations: 12.31 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.008207, allocations: 143.7 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.008217, allocations: 4.188 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.008229, allocations: 384 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.008238, allocations: 4.375 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.008319, allocations: 39.91 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.008944, allocations: 0.6309 MB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.009105, allocations: 90.23 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.009152, allocations: 35.48 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.009178, allocations: 8 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.0092, allocations: 41.33 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.009202, allocations: 0 / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007676/0.009969, allocations: 416 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.01001, allocations: 88.98 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.01034, allocations: 486.7 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.01035, allocations: 29.7 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.01048, allocations: 259.2 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.01052, allocations: 67.5 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.01058, allocations: 39.36 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.01072, allocations: 0.5313 MB / 387 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.01078, allocations: 27.98 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.01084, allocations: 47.36 kB / 387 MB, free: 9.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.01096, allocations: 83.3 kB / 387.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01096, allocations: 0 / 387.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001972/0.01116, allocations: 161.4 kB / 387.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01117, allocations: 4 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01118, allocations: 0 / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.0112, allocations: 4 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01134, allocations: 55.89 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01134, allocations: 0 / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.01141, allocations: 27.86 kB / 387.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.01142, allocations: 4 kB / 387.4 MB, free: 9.227 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.781e-05/0.0115, allocations: 168.8 kB / 387.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.01156, allocations: 43.72 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.01182, allocations: 193 kB / 387.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01182, allocations: 0 / 387.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01183, allocations: 12.69 kB / 387.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01183, allocations: 0 / 387.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.0124, allocations: 0.6839 MB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.01241, allocations: 4 kB / 388.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.01251, allocations: 51.83 kB / 388.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.01252, allocations: 8 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01253, allocations: 4 kB / 388.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01253, allocations: 4 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01253, allocations: 0 / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.01279, allocations: 425.4 kB / 388.9 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.01284, allocations: 55.62 kB / 389 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01286, allocations: 4 kB / 389 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.01295, allocations: 23.97 kB / 389 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.01301, allocations: 23.91 kB / 389 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.01302, allocations: 4 kB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002028/0.01322, allocations: 327 kB / 389.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01322, allocations: 0 / 389.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01344, allocations: 51.94 kB / 389.4 MB, free: 7.098 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.0008646/0.01431, allocations: 381.3 kB / 389.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.01454, allocations: 95.58 kB / 389.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01454, allocations: 7.938 kB / 389.9 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.01465, allocations: 63.69 kB / 390 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.01501, allocations: 64.94 kB / 390 MB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.01575, allocations: 0.5924 MB / 390.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.01584, allocations: 116.3 kB / 390.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.681e-05/0.01594, allocations: 54.23 kB / 390.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.016, allocations: 24.5 kB / 390.8 MB, free: 5.766 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.016, allocations: 0 / 390.8 MB, free: 5.766 MB / 362.7 MB Notification: Performance of Templates: time 0.005714/0.02171, allocations: 3.842 MB / 394.6 MB, free: 1.969 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.2964755091816187]