Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001074/0.001074, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001095/0.001095, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 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.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2904/0.2904, allocations: 34.25 MB / 296 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 378.1 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.546e-05, allocations: 6.312 kB / 378.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.004031/0.004066, allocations: 1.758 MB / 379.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.006078, allocations: 1.005 MB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.00623, allocations: 3.938 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.006669, allocations: 35.78 kB / 380.9 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.007134, allocations: 99.47 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.007419, allocations: 83.59 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.007636, allocations: 111.6 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.007741, allocations: 8 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.007864, allocations: 55.83 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.007955, allocations: 27.91 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.007976, allocations: 4 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.008089, allocations: 43.92 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.008153, allocations: 19.92 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.008206, allocations: 27.86 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.008452, allocations: 103.6 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.008456, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008457, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.008462, allocations: 0 / 381.5 MB, free: 15.45 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.0006369/0.009099, allocations: 459.8 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.009146, allocations: 8.031 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.009216, allocations: 16.83 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.009459, allocations: 156.9 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.009483, allocations: 4.312 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.009508, allocations: 8.375 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.009686, allocations: 62.94 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.0097, allocations: 3.938 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.009712, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.009723, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.97e-05/0.009782, allocations: 15.98 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.0102, allocations: 283.8 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.01034, allocations: 59.11 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.01039, allocations: 27.59 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.01041, allocations: 0 / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.01055, allocations: 65.05 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.01055, allocations: 0 / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005862/0.01114, allocations: 157.3 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.01119, allocations: 63.41 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.01141, allocations: 233.9 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.01142, allocations: 25.7 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.01151, allocations: 158.8 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.01155, allocations: 27.78 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.0116, allocations: 27.31 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.01178, allocations: 0.5001 MB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.01183, allocations: 11.98 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/0.01188, allocations: 31.38 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.01199, allocations: 59.28 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01199, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.01219, allocations: 93.64 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.01221, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01222, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.01224, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.01236, allocations: 15.98 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01237, allocations: 3.938 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.01242, allocations: 7.953 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.01243, allocations: 0 / 384 MB, free: 12.67 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.0001249/0.01256, allocations: 176.5 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.01259, allocations: 15.95 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.01283, allocations: 103.1 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.01283, allocations: 3.984 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01283, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01284, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.01335, allocations: 396.9 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.01335, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.0134, allocations: 8 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.01341, allocations: 32 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.01343, allocations: 16.36 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.01343, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.01344, allocations: 4 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.0137, allocations: 255.4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.01372, allocations: 11.91 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.01375, allocations: 4 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.01384, allocations: 4 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.01389, allocations: 7.984 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.01391, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.01404, allocations: 184.1 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01404, allocations: 4 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.01437, allocations: 27.94 kB / 385.2 MB, free: 11.38 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.001623/0.01599, allocations: 430 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.0162, allocations: 55.58 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.0162, allocations: 0 / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.01627, allocations: 31.67 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.01669, allocations: 41.77 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006195/0.01731, allocations: 233.9 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.01737, allocations: 67.34 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.306e-05/0.01742, allocations: 16.91 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.01746, allocations: 16.5 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.01747, allocations: 0 / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of Templates: time 0.006059/0.02352, allocations: 1.888 MB / 388 MB, free: 8.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.421946912072599]