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.001904/0.001904, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001965/0.001965, allocations: 164.8 kB / 24.27 MB, free: 156 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.537/1.537, allocations: 177 MB / 204.5 MB, free: 5.59 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.3394/0.3394, allocations: 34.26 MB / 295.2 MB, free: 0.6406 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.643e-06/1.643e-06, allocations: 3.938 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.719e-05, allocations: 2.312 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003538/0.003566, allocations: 1.861 MB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.004997, allocations: 0.6926 MB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.005074, allocations: 4 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.005568, allocations: 179.3 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.006009, allocations: 175.2 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.006698, allocations: 323.2 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.007034, allocations: 243.2 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.007174, allocations: 41.78 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.007363, allocations: 123.7 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.00759, allocations: 143.7 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.007631, allocations: 15.98 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.007736, allocations: 47.92 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.007883, allocations: 111.7 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.007975, allocations: 59.73 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.008374, allocations: 291 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.008378, allocations: 0 / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008379, allocations: 3.938 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.008384, allocations: 0 / 381.5 MB, free: 14.57 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.001076/0.00946, allocations: 0.6931 MB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.009495, allocations: 12.03 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.009593, allocations: 48.66 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.01003, allocations: 266.8 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.01005, allocations: 8.375 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.01008, allocations: 16.33 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.01044, allocations: 145.3 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.01046, allocations: 4.188 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.01047, allocations: 4.359 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.01048, allocations: 4.375 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.01082, allocations: 99.75 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.01189, allocations: 0.6545 MB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.01223, allocations: 138.1 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.01242, allocations: 59.47 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.01245, allocations: 8 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.01249, allocations: 41.39 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.01249, allocations: 0 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001977/0.01447, allocations: 0.5624 MB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.01455, allocations: 89.03 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.01519, allocations: 0.5143 MB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.01522, allocations: 29.7 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.01547, allocations: 263.2 kB / 385.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.01555, allocations: 75.42 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.01564, allocations: 43.36 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003328/0.01597, allocations: 0.547 MB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.01626, allocations: 75.95 kB / 385.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.01657, allocations: 110.3 kB / 386 MB, free: 9.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.01712, allocations: 179.2 kB / 386.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01712, allocations: 0 / 386.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007205/0.01785, allocations: 257.3 kB / 386.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.01786, allocations: 4 kB / 386.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01787, allocations: 0 / 386.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.01788, allocations: 0 / 386.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.01814, allocations: 59.83 kB / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01815, allocations: 4 kB / 386.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.01831, allocations: 19.98 kB / 386.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.01833, allocations: 8 kB / 386.5 MB, free: 9.316 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.000173/0.0185, allocations: 172.6 kB / 386.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.01861, allocations: 47.72 kB / 386.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008367/0.01944, allocations: 288.8 kB / 387 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.01945, allocations: 4 kB / 387 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.01946, allocations: 8.047 kB / 387 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01946, allocations: 3.938 kB / 387 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.02098, allocations: 0.8128 MB / 387.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02098, allocations: 0 / 387.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.02122, allocations: 60.59 kB / 387.9 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.02122, allocations: 0 / 387.9 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.02124, allocations: 4 kB / 387.9 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.02124, allocations: 3.984 kB / 387.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02124, allocations: 0 / 387.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.02212, allocations: 0.5221 MB / 388.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.02223, allocations: 43.7 kB / 388.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.02227, allocations: 4 kB / 388.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.02247, allocations: 27.97 kB / 388.5 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.02256, allocations: 15.97 kB / 388.5 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.02257, allocations: 4 kB / 388.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004111/0.02298, allocations: 351 kB / 388.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02298, allocations: 0 / 388.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.02333, allocations: 51.89 kB / 388.9 MB, free: 6.84 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.002885/0.02622, allocations: 433.9 kB / 389.3 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.0269, allocations: 199.5 kB / 389.5 MB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0269, allocations: 0 / 389.5 MB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.02724, allocations: 113.9 kB / 389.6 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.02774, allocations: 76.59 kB / 389.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.02884, allocations: 0.6043 MB / 390.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.02909, allocations: 195.5 kB / 390.5 MB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.02926, allocations: 58.53 kB / 390.6 MB, free: 5.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.02936, allocations: 28.5 kB / 390.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02936, allocations: 0 / 390.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of Templates: time 0.008995/0.03835, allocations: 3.815 MB / 394.4 MB, free: 1.453 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","/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: 4.973709922051057]