Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001035/0.001035, 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.001129/0.001129, 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 1.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.617 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.2414/0.2414, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.488e-05, allocations: 6.25 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002531/0.002566, allocations: 1.796 MB / 377.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003797, allocations: 1.009 MB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.003876, allocations: 0 / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.004173, allocations: 55.67 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.004507, allocations: 103.5 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.004717, allocations: 79.66 kB / 379.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.004896, allocations: 131.6 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.00499, allocations: 8 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.005088, allocations: 67.77 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.00518, allocations: 43.88 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005199, allocations: 12 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.005307, allocations: 67.89 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.005364, allocations: 31.86 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.005405, allocations: 23.92 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.005619, allocations: 127.5 kB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.005623, allocations: 0 / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005624, allocations: 0 / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.00563, allocations: 7.938 kB / 379.7 MB, free: 0.9961 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004821/0.006112, allocations: 467.7 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.006152, allocations: 8.031 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.006211, allocations: 16.84 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.006415, allocations: 168.9 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.00644, allocations: 384 / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.006466, allocations: 4.375 kB / 380.3 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.006639, allocations: 82.84 kB / 380.4 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.006652, allocations: 7.938 kB / 380.4 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.006665, allocations: 3.938 kB / 380.4 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.006673, allocations: 0 / 380.4 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.006742, allocations: 27.97 kB / 380.4 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.007198, allocations: 315.6 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.00747, allocations: 86.95 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.007513, allocations: 19.69 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.007528, allocations: 4 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.00766, allocations: 77.06 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.007662, allocations: 0 / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006698/0.008332, allocations: 261.8 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.00837, allocations: 59.34 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.008507, allocations: 233.9 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.008526, allocations: 25.7 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.008582, allocations: 159.1 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.00862, allocations: 43.64 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.008663, allocations: 39.36 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.00878, allocations: 0.5 MB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.008817, allocations: 19.98 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.048e-05/0.008868, allocations: 43.36 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.008964, allocations: 71.36 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008965, allocations: 0 / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001614/0.009126, allocations: 133.5 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.009141, allocations: 8.031 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.009146, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.009161, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.009234, allocations: 27.92 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.00924, allocations: 4 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.009273, allocations: 8 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.009283, allocations: 7.984 kB / 382.5 MB, free: 13.88 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 (15): * Single equations (assignments): 15 * 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 8.572e-05/0.009369, allocations: 172.4 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.009391, allocations: 19.91 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.009611, allocations: 163 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.009614, allocations: 4 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.009618, allocations: 0 / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.009621, allocations: 0 / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.01002, allocations: 484.4 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01002, allocations: 0 / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.01007, allocations: 35.91 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01007, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01008, allocations: 4 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01008, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.01009, allocations: 8 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.01029, allocations: 310.7 kB / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.0103, allocations: 23.89 kB / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.01032, allocations: 0 / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.01037, allocations: 8 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01041, allocations: 15.86 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.01043, allocations: 11.98 kB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.441e-05/0.01052, allocations: 180.2 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.01072, allocations: 35.92 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001076/0.01179, allocations: 491 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.01198, allocations: 83.52 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01199, allocations: 4 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.01205, allocations: 51.67 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.01233, allocations: 43.58 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.01278, allocations: 278.1 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.774e-05/0.01283, allocations: 71.83 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.01288, allocations: 25.47 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.01293, allocations: 28.61 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01293, allocations: 0 / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.004822/0.01775, allocations: 2.557 MB / 387.6 MB, free: 8.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.1417166856117547]