Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001051/0.001051, 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.00121/0.00121, allocations: 165 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.9589/0.9589, allocations: 177.1 MB / 205 MB, free: 5.625 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.2816/0.2816, allocations: 32.81 MB / 294.3 MB, free: 1.25 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.067e-05, allocations: 6.25 kB / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002947/0.002977, allocations: 1.941 MB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.004615, allocations: 1.111 MB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.004705, allocations: 4 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.005169, allocations: 255.1 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.005674, allocations: 239.1 kB / 379.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.005977, allocations: 123.5 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000687/0.006664, allocations: 279.2 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.006798, allocations: 17.95 kB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.007002, allocations: 159.6 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.007234, allocations: 191.6 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.007264, allocations: 8 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.007416, allocations: 71.91 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.007512, allocations: 71.7 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.007587, allocations: 47.78 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.007933, allocations: 199.2 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.007937, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007939, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.007945, allocations: 3.938 kB / 380.8 MB, free: 15.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006967/0.008641, allocations: 0.6196 MB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.008679, allocations: 8.031 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.008762, allocations: 48.69 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.00903, allocations: 230.9 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.009053, allocations: 8.375 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.009079, allocations: 4.375 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.009294, allocations: 118.2 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.009307, allocations: 3.938 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.00932, allocations: 4 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.00933, allocations: 4 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.009399, allocations: 31.89 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.00991, allocations: 0.518 MB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.0102, allocations: 118.1 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.01026, allocations: 39.48 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.01027, allocations: 4 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.01043, allocations: 124.5 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.01044, allocations: 0 / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009534/0.01139, allocations: 485 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.01143, allocations: 81.05 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.01176, allocations: 434.8 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01178, allocations: 33.7 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.0119, allocations: 227.3 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.01197, allocations: 75.39 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.01203, allocations: 47.36 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.01218, allocations: 0.5235 MB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.01225, allocations: 35.97 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-05/0.01234, allocations: 82.66 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.0125, allocations: 126.9 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.0125, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002768/0.01277, allocations: 213.2 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01279, allocations: 4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01279, allocations: 0 / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.01281, allocations: 4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01293, allocations: 43.91 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01294, allocations: 8 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.01301, allocations: 12 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.01303, allocations: 12 kB / 385.1 MB, free: 11.27 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001139/0.01314, allocations: 164.6 kB / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.01319, allocations: 47.7 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.01355, allocations: 232.9 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01355, allocations: 3.984 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.01356, allocations: 7.938 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01357, allocations: 0 / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.01428, allocations: 0.7684 MB / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01428, allocations: 0 / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.057e-05/0.01436, allocations: 35.92 kB / 386.3 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01436, allocations: 0 / 386.3 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01438, allocations: 11.94 kB / 386.3 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01438, allocations: 4 kB / 386.3 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.01439, allocations: 7.969 kB / 386.4 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.01475, allocations: 0.5121 MB / 386.9 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.01479, allocations: 31.89 kB / 386.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.01482, allocations: 8 kB / 386.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.01495, allocations: 15.98 kB / 386.9 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.01526, allocations: 19.97 kB / 386.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.01528, allocations: 8 kB / 387 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002128/0.0155, allocations: 303 kB / 387.2 MB, free: 9 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0155, allocations: 0 / 387.2 MB, free: 9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.01584, allocations: 55.92 kB / 387.3 MB, free: 8.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001232/0.01707, allocations: 494 kB / 387.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.01732, allocations: 128 kB / 387.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01733, allocations: 0 / 387.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01744, allocations: 79.89 kB / 388 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.01792, allocations: 61.45 kB / 388 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.01855, allocations: 0.5322 MB / 388.6 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.428e-05/0.01862, allocations: 96.3 kB / 388.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.01869, allocations: 45.91 kB / 388.7 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.01874, allocations: 32.48 kB / 388.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01875, allocations: 0 / 388.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of Templates: time 0.005831/0.02458, allocations: 3.635 MB / 392.4 MB, free: 4.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.241025820374489]