Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002362/0.002362, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00277/0.00277, allocations: 169.3 kB / 24.28 MB, free: 152 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.598/1.598, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3775/0.3775, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.878e-06/3.878e-06, allocations: 3.984 kB / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/3.048e-05, allocations: 2.312 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003287/0.003317, allocations: 1.731 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.005316, allocations: 0.9976 MB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.005383, allocations: 3.938 kB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.005754, allocations: 83.67 kB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.006124, allocations: 127.4 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.00634, allocations: 71.69 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.006571, allocations: 123.6 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.006662, allocations: 7.938 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.006803, allocations: 67.8 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.006926, allocations: 55.88 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.006949, allocations: 4 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.007056, allocations: 43.92 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.007129, allocations: 31.84 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.007179, allocations: 23.92 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.007433, allocations: 123.5 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.007436, allocations: 0 / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.007437, allocations: 0 / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.007441, allocations: 4 kB / 380.8 MB, free: 15.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006735/0.008115, allocations: 459.5 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.008153, allocations: 12.03 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.00821, allocations: 12.84 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.008462, allocations: 156.4 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.008481, allocations: 4.375 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.008504, allocations: 8.375 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.008657, allocations: 50.23 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.008673, allocations: 3.938 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.008686, allocations: 0 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.008689, allocations: 0 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.00877, allocations: 19.98 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.009224, allocations: 299.8 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.009432, allocations: 71.09 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.009514, allocations: 23.61 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.009534, allocations: 4 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.009694, allocations: 73.05 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.009695, allocations: 0 / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005969/0.01029, allocations: 185.3 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.01034, allocations: 55.34 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.01064, allocations: 266.7 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.01066, allocations: 25.7 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01078, allocations: 162.9 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.01083, allocations: 31.77 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.01088, allocations: 27.38 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000285/0.01117, allocations: 0.504 MB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.01123, allocations: 24.36 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.01131, allocations: 43.36 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.01145, allocations: 67.38 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.01146, allocations: 4 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002101/0.01167, allocations: 109.5 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01168, allocations: 4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01169, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01171, allocations: 4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.0118, allocations: 23.92 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01181, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.01185, allocations: 8.031 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.01186, allocations: 0 / 383.5 MB, free: 12.46 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.0001347/0.01199, allocations: 168.5 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.01203, allocations: 19.91 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.01231, allocations: 115.1 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01231, allocations: 0 / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01232, allocations: 0 / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01232, allocations: 3.984 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.01288, allocations: 424.9 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01288, allocations: 4.031 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.01293, allocations: 11.98 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01293, allocations: 0 / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01294, allocations: 4 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01294, allocations: 0 / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01294, allocations: 0 / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.01353, allocations: 275.4 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01355, allocations: 7.953 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.01357, allocations: 0 / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.01365, allocations: 11.98 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.01369, allocations: 15.86 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.01371, allocations: 8 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.01389, allocations: 193 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01389, allocations: 0 / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.01417, allocations: 27.92 kB / 384.8 MB, free: 11.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.003336/0.0175, allocations: 0.4914 MB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.01774, allocations: 67.59 kB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01774, allocations: 0 / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.101e-05/0.01783, allocations: 39.77 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.01824, allocations: 39.06 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.01881, allocations: 248.6 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.01894, allocations: 108.9 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.75e-05/0.019, allocations: 12.97 kB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.01904, allocations: 16.5 kB / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01904, allocations: 0 / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of Templates: time 0.006625/0.02567, allocations: 1.875 MB / 387.7 MB, free: 8.406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.990625498001464]