Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001814/0.001814, 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.001868/0.001868, allocations: 165.3 kB / 24.27 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.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3788/0.3788, allocations: 34.26 MB / 295.3 MB, free: 0.6602 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 377.4 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.688e-05, allocations: 2.312 kB / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003422/0.003449, allocations: 1.695 MB / 379.1 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.005569, allocations: 0.982 MB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.005658, allocations: 0 / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.006116, allocations: 91.64 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.006534, allocations: 119.4 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.006773, allocations: 75.66 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.007, allocations: 107.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.007048, allocations: 8.219 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.007189, allocations: 59.83 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.007318, allocations: 55.86 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.007342, allocations: 11.94 kB / 380.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.007438, allocations: 31.94 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.007512, allocations: 27.86 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.007566, allocations: 23.91 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.007807, allocations: 99.64 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.007811, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.437e-06/0.007815, allocations: 4 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.007819, allocations: 0 / 380.7 MB, free: 15.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000709/0.008528, allocations: 455.5 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.008564, allocations: 8.031 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.008624, allocations: 16.83 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.008887, allocations: 156.3 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.008904, allocations: 4.375 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.008917, allocations: 4.375 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.009054, allocations: 46.23 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.009066, allocations: 7.938 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.009075, allocations: 0 / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.009079, allocations: 0 / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.009144, allocations: 8 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.009379, allocations: 156.6 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.009561, allocations: 59.05 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.00962, allocations: 23.67 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.009637, allocations: 0 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.009806, allocations: 73.03 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.009807, allocations: 0 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003075/0.01011, allocations: 105.5 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.01016, allocations: 51.41 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.01044, allocations: 258.7 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.01046, allocations: 29.7 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01058, allocations: 158.9 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.01061, allocations: 19.84 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.01066, allocations: 31.38 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.01094, allocations: 0.504 MB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.01098, allocations: 8 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.01105, allocations: 35.36 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.01116, allocations: 47.31 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01116, allocations: 0 / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001646/0.01133, allocations: 81.91 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01134, allocations: 11.98 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.01135, allocations: 3.938 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01137, allocations: 4.031 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.01145, allocations: 15.94 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01145, allocations: 0 / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.01149, allocations: 4 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.0115, allocations: 4 kB / 383.1 MB, free: 12.93 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.0001433/0.01164, allocations: 168.5 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.01167, allocations: 15.89 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.0119, allocations: 102.8 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.0119, allocations: 0 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.0119, allocations: 0 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0119, allocations: 4 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.01208, allocations: 160.6 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01208, allocations: 0 / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.01211, allocations: 4 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.01212, allocations: 4 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.01212, allocations: 0 / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01213, allocations: 3.938 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01213, allocations: 0 / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.01235, allocations: 124.3 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.01237, allocations: 11.95 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.0124, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.01244, allocations: 15.92 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.01249, allocations: 3.938 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.01251, allocations: 4 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.01269, allocations: 193 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01269, allocations: 0 / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000217/0.01291, allocations: 19.94 kB / 383.9 MB, free: 12.04 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.003042/0.01595, allocations: 436.4 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.01614, allocations: 51.66 kB / 384.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01614, allocations: 4.062 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.01622, allocations: 31.62 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.01651, allocations: 30.91 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.01705, allocations: 220.8 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.01719, allocations: 92.31 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.01726, allocations: 12.48 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.01732, allocations: 16.5 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01732, allocations: 0 / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.006096/0.02341, allocations: 1.646 MB / 386.4 MB, free: 9.664 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.948106417083181]