Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3328/0.3328, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.934e-05, allocations: 2.312 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003294/0.003323, allocations: 1.739 MB / 377.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.005249, allocations: 0.9898 MB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.005315, allocations: 4 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.005645, allocations: 87.62 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.006001, allocations: 111.5 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.006212, allocations: 79.61 kB / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.006432, allocations: 127.6 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.49e-05/0.006517, allocations: 7.938 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.006657, allocations: 67.75 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.00678, allocations: 59.86 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.006805, allocations: 4 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.006917, allocations: 43.98 kB / 378.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.006985, allocations: 23.92 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.007034, allocations: 23.86 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.007271, allocations: 123.5 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.007274, allocations: 0 / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007275, allocations: 0 / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.007279, allocations: 0 / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006553/0.007934, allocations: 467.3 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.007967, allocations: 8.031 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.008028, allocations: 16.84 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.008281, allocations: 160.4 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.008297, allocations: 4.375 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.00832, allocations: 4.375 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.008467, allocations: 50.23 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.008481, allocations: 3.938 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.008491, allocations: 0 / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.008495, allocations: 0 / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.008573, allocations: 19.98 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.009054, allocations: 303.7 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.009248, allocations: 63.16 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/0.009314, allocations: 31.61 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.009332, allocations: 0 / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/0.009839, allocations: 76.98 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.00984, allocations: 0 / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006823/0.01052, allocations: 185.3 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.01058, allocations: 51.41 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.01088, allocations: 266.7 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.01091, allocations: 25.7 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01103, allocations: 166.8 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.01107, allocations: 27.78 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.01113, allocations: 35.36 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002793/0.01141, allocations: 0.504 MB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.01147, allocations: 19.98 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.01155, allocations: 39.38 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.01169, allocations: 71.23 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01169, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.0119, allocations: 105.6 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01191, allocations: 4 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01192, allocations: 3.938 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.01193, allocations: 4.031 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.01203, allocations: 16.38 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01203, allocations: 3.938 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.01208, allocations: 7.984 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.01209, allocations: 8 kB / 381.5 MB, free: 14.47 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001387/0.01223, allocations: 167.5 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.01226, allocations: 15.91 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.01255, allocations: 127.2 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01255, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01256, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01256, allocations: 4 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.01314, allocations: 428.9 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01314, allocations: 0 / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.01319, allocations: 8 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01319, allocations: 0 / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.0132, allocations: 11.92 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.0132, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.0132, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.01354, allocations: 275.4 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.01357, allocations: 7.953 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.01359, allocations: 32 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.01366, allocations: 12 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.0137, allocations: 7.984 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.01372, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.01391, allocations: 201 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01391, allocations: 0 / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.01417, allocations: 23.94 kB / 382.8 MB, free: 13.12 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003368/0.01754, allocations: 495.3 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.01776, allocations: 67.55 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01777, allocations: 0 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.01786, allocations: 39.61 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.01825, allocations: 35.91 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.01884, allocations: 240.8 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.01897, allocations: 104.7 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.01903, allocations: 25.27 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.01908, allocations: 16.5 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01908, allocations: 4 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of Templates: time 0.005961/0.02504, allocations: 1.884 MB / 385.7 MB, free: 10.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.986107870005071]