Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001181/0.001181, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001858/0.001858, allocations: 162.6 kB / 24.99 MB, free: 9.273 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.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.3044/0.3044, allocations: 32.8 MB / 294.6 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.347e-06/3.347e-06, allocations: 3.938 kB / 376.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.727e-05/4.062e-05, allocations: 10.25 kB / 376.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00439/0.00443, allocations: 2.252 MB / 378.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.007052, allocations: 1.29 MB / 379.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.00732, allocations: 7.938 kB / 379.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.007896, allocations: 135.2 kB / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.008911, allocations: 278.7 kB / 380.1 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.009761, allocations: 191.4 kB / 380.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007733/0.01053, allocations: 478.4 kB / 380.7 MB, free: 232 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.01072, allocations: 41.27 kB / 380.8 MB, free: 188 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005751/0.01129, allocations: 387.1 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.01152, allocations: 139.5 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.01157, allocations: 20 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.01177, allocations: 75.92 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.01196, allocations: 167.4 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.0121, allocations: 95.52 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.01267, allocations: 378.3 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.01267, allocations: 3.938 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01268, allocations: 0 / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.01269, allocations: 0 / 382 MB, free: 14.94 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001376/0.01406, allocations: 0.9496 MB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.01412, allocations: 8.031 kB / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.01428, allocations: 88.42 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.01481, allocations: 381.1 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.01484, allocations: 8.375 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.01489, allocations: 20.36 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.01531, allocations: 185.5 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.01534, allocations: 19.86 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.01536, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.01538, allocations: 4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.01557, allocations: 63.88 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.01683, allocations: 0.9727 MB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.0174, allocations: 228.4 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.01752, allocations: 74.84 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.01754, allocations: 4 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.01787, allocations: 201.2 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.01787, allocations: 0 / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002424/0.0203, allocations: 1.116 MB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.02038, allocations: 132.5 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.02128, allocations: 0.7574 MB / 387.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.02133, allocations: 41.7 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.02159, allocations: 351.7 kB / 387.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.02174, allocations: 150.8 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.02186, allocations: 91.73 kB / 387.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.02202, allocations: 0.4886 MB / 388.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.02218, allocations: 68.95 kB / 388.4 MB, free: 8.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.0224, allocations: 158.4 kB / 388.5 MB, free: 8.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.0228, allocations: 257.6 kB / 388.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.0228, allocations: 0 / 388.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006638/0.02347, allocations: 380.8 kB / 389.1 MB, free: 7.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.02349, allocations: 11.98 kB / 389.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.0235, allocations: 0 / 389.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.02352, allocations: 4 kB / 389.2 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.02409, allocations: 79.91 kB / 389.2 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.02411, allocations: 7.938 kB / 389.2 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.02427, allocations: 28.11 kB / 389.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.02431, allocations: 20 kB / 389.3 MB, free: 7.254 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.00018/0.02449, allocations: 186.9 kB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.02461, allocations: 95.48 kB / 389.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000953/0.02557, allocations: 444 kB / 390 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.02558, allocations: 8 kB / 390 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.02559, allocations: 0 / 390 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.0256, allocations: 4 kB / 390 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.02699, allocations: 1.429 MB / 391.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.027, allocations: 0 / 391.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.02713, allocations: 67.91 kB / 391.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.02713, allocations: 4 kB / 391.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.02716, allocations: 19.98 kB / 391.5 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.02716, allocations: 7.938 kB / 391.5 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.02716, allocations: 4.25 kB / 391.5 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.02779, allocations: 0.9772 MB / 392.5 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.02792, allocations: 103.4 kB / 392.6 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.02798, allocations: 19.98 kB / 392.6 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.02814, allocations: 15.98 kB / 392.7 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.02822, allocations: 51.81 kB / 392.7 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.02826, allocations: 20 kB / 392.7 MB, free: 3.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003718/0.02863, allocations: 0.4951 MB / 393.2 MB, free: 3.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02863, allocations: 0 / 393.2 MB, free: 3.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004058/0.02903, allocations: 99.89 kB / 393.3 MB, free: 3.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001208/0.03024, allocations: 0.5024 MB / 393.8 MB, free: 2.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.0306, allocations: 251.8 kB / 394.1 MB, free: 2.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03061, allocations: 0 / 394.1 MB, free: 2.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.03075, allocations: 140.4 kB / 394.2 MB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.03137, allocations: 144.5 kB / 394.3 MB, free: 2.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.03266, allocations: 1.042 MB / 395.4 MB, free: 1.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.03279, allocations: 174.1 kB / 395.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.03294, allocations: 79.19 kB / 395.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.03302, allocations: 56.48 kB / 395.7 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of SimCode: time 9.81e-07/0.03302, allocations: 0 / 395.7 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of Templates: time 0.008363/0.04139, allocations: 5.804 MB / 401.5 MB, free: 11.06 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.4586753300391138]