Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009465/0.0009465, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0008988/0.0008988, allocations: 161 kB / 24.56 MB, free: 12 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 0.9657/0.9657, allocations: 177.1 MB / 205 MB, free: 5.234 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.2571/0.2571, allocations: 32.8 MB / 294.3 MB, free: 1.156 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2e-05, allocations: 6.25 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00273/0.00275, allocations: 1.962 MB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004142, allocations: 1.036 MB / 379.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.004238, allocations: 7.938 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.004522, allocations: 47.62 kB / 379.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.004816, allocations: 107.4 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.005003, allocations: 91.64 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.005177, allocations: 151.5 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.005269, allocations: 25.78 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.00536, allocations: 67.77 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.005438, allocations: 43.88 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.005456, allocations: 8 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.005531, allocations: 51.86 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.00558, allocations: 27.84 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.005629, allocations: 35.84 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.005823, allocations: 119.5 kB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005825, allocations: 4 kB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005826, allocations: 0 / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.00583, allocations: 4 kB / 379.9 MB, free: 0.7656 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004779/0.006308, allocations: 0.5013 MB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.006338, allocations: 12.03 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.006389, allocations: 20.8 kB / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.006599, allocations: 169.2 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.006617, allocations: 4.375 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.006643, allocations: 12.31 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.006816, allocations: 146.9 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.006826, allocations: 7.922 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.006836, allocations: 0 / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.006843, allocations: 4 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.006896, allocations: 31.92 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.007309, allocations: 0.5795 MB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.007493, allocations: 75.09 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.00753, allocations: 27.67 kB / 381.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.007543, allocations: 4 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.007662, allocations: 102.7 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.007663, allocations: 0 / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001962/0.007859, allocations: 109.5 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.007883, allocations: 55.34 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.008017, allocations: 247.1 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008031, allocations: 29.7 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.008103, allocations: 166.8 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.008122, allocations: 35.73 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.008158, allocations: 35.38 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.00827, allocations: 0.5 MB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.008298, allocations: 11.98 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.008343, allocations: 62.42 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.008419, allocations: 86.34 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008421, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001172/0.008538, allocations: 117.4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.008549, allocations: 6.5 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.00856, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.008572, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.008633, allocations: 23.98 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.008637, allocations: 0 / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.008674, allocations: 15.92 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.008681, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.187e-05/0.008753, allocations: 172.6 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.008771, allocations: 23.91 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.008904, allocations: 103.1 kB / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.008906, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.008909, allocations: 4 kB / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008912, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.858e-05/0.009011, allocations: 164.5 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009012, allocations: 0 / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.009057, allocations: 15.98 kB / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009059, allocations: 0 / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.009068, allocations: 0 / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.00907, allocations: 8 kB / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.009071, allocations: 0 / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.00923, allocations: 164.7 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.009245, allocations: 19.84 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.009259, allocations: 0 / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.805e-05/0.009287, allocations: 7.984 kB / 383.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.00932, allocations: 11.98 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.009331, allocations: 4 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.009406, allocations: 167.1 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009406, allocations: 3.938 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.009568, allocations: 28.03 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007262/0.01029, allocations: 392.4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01042, allocations: 67.59 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01042, allocations: 0 / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.01046, allocations: 31.61 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.01066, allocations: 47.89 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.01099, allocations: 250 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.01103, allocations: 67.83 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.01107, allocations: 21.73 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.0111, allocations: 16.5 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0111, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of Templates: time 0.003589/0.01469, allocations: 2.21 MB / 387 MB, free: 9.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.0290787369012833]