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.001114/0.001114, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.002056/0.002056, allocations: 163.9 kB / 24.99 MB, free: 8.797 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.3076/0.3076, allocations: 32.8 MB / 294.6 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.303e-05, allocations: 6.25 kB / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00266/0.002693, allocations: 1.719 MB / 377.8 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004035, allocations: 0.9854 MB / 378.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.004153, allocations: 0 / 378.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.004515, allocations: 63.67 kB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.004865, allocations: 111.5 kB / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.005062, allocations: 79.61 kB / 379 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.005251, allocations: 107.6 kB / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.005295, allocations: 4.234 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.005395, allocations: 59.81 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.005501, allocations: 39.89 kB / 379.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.005516, allocations: 4 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.005593, allocations: 39.86 kB / 379.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.00565, allocations: 19.92 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.00569, allocations: 23.92 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.005866, allocations: 87.61 kB / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.005869, allocations: 0 / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00587, allocations: 0 / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.005875, allocations: 4 kB / 379.4 MB, free: 1.535 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.0004794/0.006355, allocations: 436 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.006392, allocations: 8.031 kB / 379.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.006444, allocations: 16.78 kB / 379.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.006633, allocations: 153.1 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.006656, allocations: 8.375 kB / 380 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.006667, allocations: 4.375 kB / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.006815, allocations: 54.94 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006824, allocations: 7.875 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.006836, allocations: 4 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.006845, allocations: 0 / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.699e-05/0.006882, allocations: 11.98 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.007065, allocations: 136.7 kB / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.007183, allocations: 47.11 kB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.007221, allocations: 15.69 kB / 380.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.007237, allocations: 4 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.007368, allocations: 68.98 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.00737, allocations: 0 / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002351/0.007605, allocations: 89.52 kB / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.007642, allocations: 51.41 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.008001, allocations: 234.4 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.008016, allocations: 25.7 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.00809, allocations: 154.9 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.00813, allocations: 15.84 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.008171, allocations: 27.38 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.008292, allocations: 0.4962 MB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.008319, allocations: 11.92 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.00835, allocations: 27.38 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5e-05/0.0084, allocations: 35.61 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.008403, allocations: 4 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.4e-05/0.008497, allocations: 77.56 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.008511, allocations: 4 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.008518, allocations: 7.938 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.008532, allocations: 32 / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.008607, allocations: 12 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.008612, allocations: 0 / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.008647, allocations: 15.94 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.008652, allocations: 0 / 381.7 MB, free: 15.08 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 7.685e-05/0.008729, allocations: 164.5 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.008747, allocations: 15.95 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.008897, allocations: 82.77 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.0089, allocations: 0 / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008904, allocations: 4 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008908, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.009012, allocations: 144.6 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.009014, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.00904, allocations: 7.984 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009043, allocations: 0 / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.009051, allocations: 0 / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.009055, allocations: 7.938 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009056, allocations: 0 / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.009177, allocations: 120.3 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.009193, allocations: 7.953 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.009212, allocations: 192 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.00924, allocations: 11.94 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.009279, allocations: 7.984 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.009293, allocations: 4 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.009379, allocations: 168.2 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009379, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.009549, allocations: 19.92 kB / 382.4 MB, free: 14.25 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.0009157/0.01046, allocations: 389.7 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.01059, allocations: 39.61 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01059, allocations: 0 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.01062, allocations: 23.69 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.01084, allocations: 31.95 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.01122, allocations: 202.1 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.01126, allocations: 67.34 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.657e-05/0.0113, allocations: 8.484 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.01133, allocations: 24.44 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01133, allocations: 0 / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of Templates: time 0.00374/0.01507, allocations: 1.637 MB / 384.8 MB, free: 11.95 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","",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.277326030889526]