Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001317/0.001317, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.002016/0.002016, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9957/0.9957, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2924/0.2924, allocations: 32.81 MB / 294.6 MB, free: 1.281 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 376.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.257e-05, allocations: 2.312 kB / 376.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002523/0.002546, allocations: 1.848 MB / 377.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003993, allocations: 1.08 MB / 379 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.004088, allocations: 7.938 kB / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.004589, allocations: 307 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.004995, allocations: 255.1 kB / 379.6 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.005181, allocations: 111.6 kB / 379.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.005477, allocations: 271.2 kB / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.005533, allocations: 9.812 kB / 379.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.005722, allocations: 151.6 kB / 380.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.00595, allocations: 215.5 kB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.005977, allocations: 4 kB / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.006096, allocations: 47.92 kB / 380.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.006255, allocations: 139.5 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.615e-05/0.006351, allocations: 79.64 kB / 380.6 MB, free: 420 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.006683, allocations: 275 kB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006686, allocations: 4 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006687, allocations: 0 / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.006693, allocations: 0 / 380.8 MB, free: 140 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007764/0.00747, allocations: 0.798 MB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.007509, allocations: 8.031 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.007587, allocations: 60.55 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.00791, allocations: 328.7 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.00793, allocations: 4.375 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.007944, allocations: 4.375 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.008109, allocations: 98.27 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.008117, allocations: 7.875 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.00813, allocations: 7.984 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.008137, allocations: 4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.008187, allocations: 15.98 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.008475, allocations: 312.2 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.00863, allocations: 102.2 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.008678, allocations: 31.36 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.008692, allocations: 0 / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.008833, allocations: 116.3 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.41e-07/0.008834, allocations: 0 / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000292/0.009126, allocations: 181.2 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.009176, allocations: 77.11 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.009677, allocations: 0.7135 MB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.009692, allocations: 33.7 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.009839, allocations: 302.8 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.00988, allocations: 31.81 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.009917, allocations: 31.36 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.0101, allocations: 0.5626 MB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.01014, allocations: 19.92 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.01019, allocations: 54.73 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.61e-05/0.01027, allocations: 79.17 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01027, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001608/0.01043, allocations: 157.2 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01045, allocations: 4 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01046, allocations: 3.938 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01047, allocations: 8.062 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.01056, allocations: 20 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.01057, allocations: 3.984 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.01062, allocations: 15.89 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.01063, allocations: 4 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001036/0.01073, allocations: 165.1 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.01078, allocations: 59.66 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.01098, allocations: 169.8 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01098, allocations: 0 / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.01099, allocations: 0 / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01099, allocations: 4 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.01122, allocations: 320.4 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01122, allocations: 4 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.01125, allocations: 12.25 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01126, allocations: 0 / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.01127, allocations: 8 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.01127, allocations: 7.922 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01127, allocations: 0 / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.01146, allocations: 211.6 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.01151, allocations: 63.66 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.01154, allocations: 7.984 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.01159, allocations: 11.92 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.01163, allocations: 11.98 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.01165, allocations: 4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003397/0.01198, allocations: 490.7 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01199, allocations: 0 / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.01217, allocations: 40 kB / 386.5 MB, free: 10.05 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008373/0.013, allocations: 401.9 kB / 386.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.01315, allocations: 71.58 kB / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01315, allocations: 0 / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.0132, allocations: 43.61 kB / 387.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01349, allocations: 76.81 kB / 387.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.01424, allocations: 0.6752 MB / 387.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.829e-05/0.01431, allocations: 132.2 kB / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.01438, allocations: 47.38 kB / 388 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.01443, allocations: 28.5 kB / 388 MB, free: 8.676 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01443, allocations: 0 / 388 MB, free: 8.676 MB / 362.7 MB Notification: Performance of Templates: time 0.006052/0.02048, allocations: 4.06 MB / 392.1 MB, free: 4.652 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.3547084438614547]