Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001299/0.001299, 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.001167/0.001167, allocations: 167.7 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.116/1.116, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.282/0.282, allocations: 34.26 MB / 296 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.113e-05, allocations: 2.312 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003518/0.00355, allocations: 1.766 MB / 379.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.006062, allocations: 1.726 MB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.006181, allocations: 0 / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.006557, allocations: 43.7 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.007111, allocations: 103.5 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.007435, allocations: 79.61 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.007693, allocations: 115.6 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.007808, allocations: 8 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.007929, allocations: 67.75 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.008049, allocations: 39.89 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.008069, allocations: 4 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.008325, allocations: 107.8 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.008406, allocations: 19.92 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.008466, allocations: 27.94 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.00884, allocations: 171.4 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.008845, allocations: 0 / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008846, allocations: 0 / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.008852, allocations: 0 / 382.4 MB, free: 14.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000632/0.009484, allocations: 459.7 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.009533, allocations: 16.02 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.009614, allocations: 12.89 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.009899, allocations: 159.3 kB / 383 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.009925, allocations: 4.375 kB / 383 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.009955, allocations: 8.375 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.0102, allocations: 116 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.01021, allocations: 3.938 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.01023, allocations: 4 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.01024, allocations: 0 / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.01031, allocations: 15.98 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.01081, allocations: 295.6 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.01099, allocations: 59.17 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.01104, allocations: 27.59 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.01106, allocations: 4 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.01122, allocations: 77.03 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.01122, allocations: 3.938 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006189/0.01184, allocations: 173.4 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005951/0.01243, allocations: 77.11 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.01267, allocations: 222.5 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.01271, allocations: 29.7 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.01277, allocations: 146.9 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.01282, allocations: 31.73 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.01287, allocations: 31.36 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.01303, allocations: 0.5001 MB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.01308, allocations: 11.94 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.01315, allocations: 72.75 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.991e-05/0.01324, allocations: 63.23 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01324, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001721/0.01342, allocations: 101.6 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.01344, allocations: 4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.01344, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.01346, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.01358, allocations: 24.05 kB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01359, allocations: 3.938 kB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.01364, allocations: 4 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.01365, allocations: 4 kB / 385.1 MB, free: 11.64 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 (11): * Single equations (assignments): 11 * 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 9.772e-05/0.01375, allocations: 168.5 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.01377, allocations: 11.91 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.01399, allocations: 122.4 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01399, allocations: 0 / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01399, allocations: 0 / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.014, allocations: 0 / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.01436, allocations: 420.9 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01436, allocations: 0 / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.0144, allocations: 16 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.0144, allocations: 0 / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01441, allocations: 4 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01441, allocations: 3.984 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01441, allocations: 0 / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01458, allocations: 271.7 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.0146, allocations: 11.91 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.01462, allocations: 11.94 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.01467, allocations: 8.016 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.01471, allocations: 7.984 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.01473, allocations: 4 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.647e-05/0.01481, allocations: 171.9 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01481, allocations: 0 / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.01502, allocations: 51.86 kB / 386.3 MB, free: 10.29 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: 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 (11): * Single equations (assignments): 9 * 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.001143/0.01617, allocations: 0.5492 MB / 386.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.01631, allocations: 59.59 kB / 386.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01631, allocations: 64 / 386.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.01636, allocations: 39.67 kB / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01662, allocations: 45.42 kB / 387 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.01699, allocations: 221.9 kB / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.01703, allocations: 63.34 kB / 387.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.833e-05/0.01708, allocations: 24.62 kB / 387.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.01712, allocations: 24.48 kB / 387.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01713, allocations: 4.062 kB / 387.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of Templates: time 0.00436/0.02149, allocations: 2.651 MB / 390 MB, free: 6.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.5377017720602453]