Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001918/0.001918, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002192/0.002192, allocations: 165.3 kB / 24.27 MB, free: 148 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.61/1.61, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3725/0.3725, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.61e-05/3.843e-05, allocations: 5.547 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.005782/0.005821, allocations: 1.692 MB / 377 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.009254, allocations: 0.9743 MB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.009348, allocations: 3.938 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.009773, allocations: 63.67 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005326/0.01031, allocations: 107.5 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.0106, allocations: 79.62 kB / 378.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.01089, allocations: 107.6 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.01094, allocations: 8.219 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.01113, allocations: 59.77 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.01128, allocations: 39.89 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.01131, allocations: 4 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.01144, allocations: 39.91 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.01152, allocations: 19.92 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.01159, allocations: 15.94 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.01193, allocations: 103.7 kB / 378.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.01193, allocations: 4 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01193, allocations: 3.938 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.01194, allocations: 0 / 378.7 MB, free: 1.562 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008851/0.01283, allocations: 443.5 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.01288, allocations: 12.02 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/0.01296, allocations: 16.89 kB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.01332, allocations: 157.1 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.01334, allocations: 384 / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.01336, allocations: 4.375 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.01354, allocations: 46.23 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01355, allocations: 7.938 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.01356, allocations: 0 / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01357, allocations: 4 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/0.01367, allocations: 15.94 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.01395, allocations: 144.7 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.0142, allocations: 59.09 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.01429, allocations: 19.69 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.0143, allocations: 0 / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.01454, allocations: 72.98 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.01454, allocations: 0 / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004788/0.01502, allocations: 101.5 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.01509, allocations: 55.39 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.01551, allocations: 246.4 kB / 380 MB, free: 20 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.137e-05/0.01559, allocations: 29.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.01575, allocations: 154.9 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.0158, allocations: 15.91 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.01588, allocations: 27.36 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004089/0.01629, allocations: 0.5001 MB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.01639, allocations: 12 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.0165, allocations: 35.3 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.01669, allocations: 43.38 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01669, allocations: 4 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003178/0.01701, allocations: 81.56 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.01703, allocations: 8 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.01704, allocations: 3.938 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01706, allocations: 3.938 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01717, allocations: 8.312 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.01718, allocations: 0 / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.741e-05/0.01728, allocations: 15.94 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.0173, allocations: 4.031 kB / 381 MB, free: 15.03 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 (7): * Single equations (assignments): 7 * 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.000204/0.0175, allocations: 168.6 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.01755, allocations: 15.84 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.01791, allocations: 94.77 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.01792, allocations: 3.984 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01792, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01793, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.01821, allocations: 152.6 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.01822, allocations: 3.984 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.01827, allocations: 4 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.01828, allocations: 4 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.01829, allocations: 4 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.0183, allocations: 3.938 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0183, allocations: 0 / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.01868, allocations: 128.3 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.01872, allocations: 11.95 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.01875, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.01882, allocations: 3.938 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.01887, allocations: 7.984 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.0189, allocations: 4 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.01917, allocations: 176.2 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.01917, allocations: 4 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004106/0.01959, allocations: 23.92 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.004456/0.02404, allocations: 431.8 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.02432, allocations: 51.61 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.02433, allocations: 0 / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.02445, allocations: 27.67 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.02493, allocations: 39.81 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.02566, allocations: 202.1 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.02582, allocations: 101.4 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.098e-05/0.0259, allocations: 12.48 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.02597, allocations: 16.5 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.02597, allocations: 0 / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of Templates: time 0.007697/0.03367, allocations: 1.63 MB / 384.3 MB, free: 11.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 5.130997640895657]