Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001109/0.001109, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.001191/0.001191, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9795/0.9795, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1348/0.1348, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.121e-05, allocations: 8.219 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.005549/0.00558, allocations: 1.703 MB / 349.4 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.00983, allocations: 0.7726 MB / 350.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.009942, allocations: 0 / 350.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.01032, allocations: 75.64 kB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.0106, allocations: 63.69 kB / 350.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.01087, allocations: 79.75 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.01108, allocations: 95.64 kB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.01113, allocations: 11.94 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.01126, allocations: 59.81 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.01136, allocations: 43.89 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.01138, allocations: 4 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.01149, allocations: 27.92 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.01155, allocations: 19.92 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.0116, allocations: 19.92 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.01182, allocations: 83.67 kB / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.01183, allocations: 0 / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.01183, allocations: 0 / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.01184, allocations: 0 / 350.8 MB, free: 6.309 MB / 282.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.0005287/0.01237, allocations: 440 kB / 351.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.01241, allocations: 8.031 kB / 351.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.01248, allocations: 12.89 kB / 351.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.0127, allocations: 152.3 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.01272, allocations: 384 / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.01274, allocations: 4.375 kB / 351.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.01292, allocations: 58.94 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01293, allocations: 3.938 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.01294, allocations: 0 / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01295, allocations: 0 / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.013, allocations: 15.98 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.01319, allocations: 132.7 kB / 351.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.01334, allocations: 51.05 kB / 351.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.01338, allocations: 15.67 kB / 351.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.0134, allocations: 8 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.01354, allocations: 69 kB / 351.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.124e-06/0.01355, allocations: 0 / 351.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000241/0.01379, allocations: 85.5 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.01382, allocations: 55.41 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.01396, allocations: 220.1 kB / 352.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01398, allocations: 29.7 kB / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.01403, allocations: 150.9 kB / 352.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.01408, allocations: 11.91 kB / 352.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.01413, allocations: 27.36 kB / 352.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.0142, allocations: 0.4923 MB / 352.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.01423, allocations: 7.984 kB / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.01427, allocations: 27.38 kB / 352.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.312e-05/0.01433, allocations: 43.55 kB / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.01433, allocations: 8 kB / 352.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001336/0.01447, allocations: 65.64 kB / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.01449, allocations: 4 kB / 353 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01449, allocations: 7.938 kB / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.01451, allocations: 0 / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.01461, allocations: 11.94 kB / 353 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.01462, allocations: 0 / 353 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.01467, allocations: 7.984 kB / 353 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.01468, allocations: 3.984 kB / 353 MB, free: 3.891 MB / 282.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 8.498e-05/0.01477, allocations: 164.6 kB / 353.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.01479, allocations: 15.91 kB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.01501, allocations: 89.95 kB / 353.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.01501, allocations: 0 / 353.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.01502, allocations: 0 / 353.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01502, allocations: 4 kB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.01514, allocations: 136.6 kB / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01514, allocations: 3.938 kB / 353.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.01518, allocations: 11.98 kB / 353.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01519, allocations: 0 / 353.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.01519, allocations: 4 kB / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.0152, allocations: 3.938 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.0152, allocations: 0 / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.01534, allocations: 116.3 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.01536, allocations: 11.94 kB / 353.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.01539, allocations: 192 / 353.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.01544, allocations: 11.94 kB / 353.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01547, allocations: 7.984 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.01549, allocations: 4 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.93e-05/0.01557, allocations: 160 kB / 353.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01557, allocations: 0 / 353.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.01584, allocations: 27.94 kB / 353.7 MB, free: 3.059 MB / 282.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.001256/0.0171, allocations: 382.6 kB / 354.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.01725, allocations: 39.67 kB / 354.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01726, allocations: 0 / 354.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.0173, allocations: 31.61 kB / 354.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.01761, allocations: 37.14 kB / 354.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.01812, allocations: 185.4 kB / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.01817, allocations: 67.33 kB / 354.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.01823, allocations: 8.5 kB / 354.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.01827, allocations: 20.5 kB / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01827, allocations: 4.062 kB / 354.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of Templates: time 0.004907/0.02318, allocations: 1.617 MB / 356.1 MB, free: 0.7344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.3372918823733926]