Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001132/0.001132, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009611/0.0009611, allocations: 161 kB / 24.56 MB, free: 16 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 1.009/1.009, allocations: 177.1 MB / 205 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.283/0.283, allocations: 32.81 MB / 294.3 MB, free: 1.262 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.601e-05, allocations: 2.312 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.005873/0.005899, allocations: 1.773 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.007395, allocations: 1.005 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.666e-05/0.007491, allocations: 3.938 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.007839, allocations: 43.7 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003461/0.0113, allocations: 91.53 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.01155, allocations: 83.61 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.01173, allocations: 107.6 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.01182, allocations: 4 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.01192, allocations: 63.75 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.012, allocations: 23.92 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.01201, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.01212, allocations: 47.91 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.01217, allocations: 19.92 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.01222, allocations: 19.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.01241, allocations: 99.59 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01241, allocations: 0 / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01242, allocations: 7.938 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.01242, allocations: 0 / 379.5 MB, free: 1.168 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004807/0.0129, allocations: 443.9 kB / 379.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.01295, allocations: 8.031 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.013, allocations: 8.891 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.0132, allocations: 156.4 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.01322, allocations: 4.375 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.01324, allocations: 384 / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.01337, allocations: 66.88 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01339, allocations: 3.938 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.0134, allocations: 4 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01341, allocations: 0 / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.01345, allocations: 11.98 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.0138, allocations: 283.8 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.01698, allocations: 51.11 kB / 380.5 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.01703, allocations: 23.62 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.01705, allocations: 0 / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.01719, allocations: 65.05 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.01719, allocations: 4 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004749/0.01766, allocations: 165.3 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.0177, allocations: 51.41 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.01787, allocations: 226.6 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.01789, allocations: 29.7 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.01796, allocations: 150.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.018, allocations: 27.78 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.01804, allocations: 31.31 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.01819, allocations: 0.4923 MB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.01822, allocations: 15.98 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.01827, allocations: 39.31 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.01834, allocations: 51.3 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01834, allocations: 0 / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001397/0.01848, allocations: 89.91 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.0185, allocations: 4 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.0185, allocations: 0 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.01852, allocations: 4 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.01861, allocations: 19.98 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01861, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.01865, allocations: 12.03 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.01866, allocations: 0 / 382 MB, free: 14.44 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 (10): * Single equations (assignments): 10 * 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.417e-05/0.01876, allocations: 172.4 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.01878, allocations: 15.94 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.01897, allocations: 107.2 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01897, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01898, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01898, allocations: 3.984 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.01936, allocations: 392.9 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01937, allocations: 32 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.0194, allocations: 12 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.0194, allocations: 4 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01941, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01942, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01942, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01961, allocations: 259.4 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.01963, allocations: 15.89 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.01965, allocations: 4 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/0.02275, allocations: 0 / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.0228, allocations: 11.98 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.02282, allocations: 8 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.02293, allocations: 167.8 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02293, allocations: 0 / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.0232, allocations: 27.92 kB / 383.2 MB, free: 13.18 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 (9): * Single equations (assignments): 7 * 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.00107/0.02427, allocations: 443.8 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.02441, allocations: 47.67 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02441, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.02446, allocations: 31.61 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.02473, allocations: 32.09 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.02522, allocations: 218.3 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.202e-05/0.02528, allocations: 67.28 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.132e-05/0.02534, allocations: 17.27 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.02538, allocations: 16.5 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02538, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Templates: time 0.005482/0.03086, allocations: 1.869 MB / 385.9 MB, free: 10.58 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.424452032893896]