Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9925/0.9925, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2744/0.2744, allocations: 34.87 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.983e-05, allocations: 8.781 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00254/0.00256, allocations: 1.945 MB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.004029, allocations: 1.11 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.004112, allocations: 7.938 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.004461, allocations: 155.4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.004805, allocations: 187.2 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.004984, allocations: 127.5 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005206, allocations: 251.2 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.005313, allocations: 25.92 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.00545, allocations: 135.6 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.005578, allocations: 127.7 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.0056, allocations: 12 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.005726, allocations: 63.92 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.005794, allocations: 51.77 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.005852, allocations: 51.78 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.006097, allocations: 179.2 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.006101, allocations: 0 / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.006103, allocations: 0 / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.006109, allocations: 4 kB / 383.3 MB, free: 13.57 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.0005807/0.00669, allocations: 0.5692 MB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.006734, allocations: 12.03 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.006793, allocations: 28.8 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.007023, allocations: 228.5 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.007041, allocations: 4.375 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.007068, allocations: 8.375 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.00724, allocations: 118.9 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007251, allocations: 192 / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.007263, allocations: 4.375 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.00727, allocations: 3.938 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.007329, allocations: 43.91 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.007757, allocations: 498.6 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.007993, allocations: 114.1 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.008044, allocations: 39.42 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.008061, allocations: 8 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.008208, allocations: 119.4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.008209, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007829/0.008992, allocations: 457.8 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.009033, allocations: 85.03 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.009262, allocations: 354.3 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.00928, allocations: 33.7 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.009375, allocations: 199.3 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.009426, allocations: 71.42 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.00948, allocations: 55.36 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.009643, allocations: 0.5196 MB / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.009698, allocations: 39.97 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.009772, allocations: 76.91 kB / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.009898, allocations: 122.9 kB / 387 MB, free: 9.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009899, allocations: 0 / 387 MB, free: 9.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002225/0.01012, allocations: 201.2 kB / 387.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.01013, allocations: 4 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01014, allocations: 80 / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01016, allocations: 12 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.01025, allocations: 39.98 kB / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.01026, allocations: 15.91 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.01031, allocations: 7.938 kB / 387.3 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.01032, allocations: 12 kB / 387.3 MB, free: 9.238 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 8.962e-05/0.01041, allocations: 164.6 kB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.01045, allocations: 43.75 kB / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.01074, allocations: 223.4 kB / 387.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01075, allocations: 7.984 kB / 387.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01075, allocations: 0 / 387.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01076, allocations: 8 kB / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.01133, allocations: 0.7449 MB / 388.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01133, allocations: 0 / 388.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.01139, allocations: 39.86 kB / 388.5 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.0114, allocations: 3.984 kB / 388.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01141, allocations: 8 kB / 388.5 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.01141, allocations: 4 kB / 388.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01141, allocations: 128 / 388.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.01173, allocations: 0.5105 MB / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.01175, allocations: 23.81 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01178, allocations: 12 kB / 389.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.01186, allocations: 7.984 kB / 389.1 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.01191, allocations: 19.97 kB / 389.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.01193, allocations: 12 kB / 389.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.01207, allocations: 243 kB / 389.4 MB, free: 7.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01207, allocations: 0 / 389.4 MB, free: 7.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.01231, allocations: 55.92 kB / 389.4 MB, free: 7.008 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.001098/0.01341, allocations: 488.1 kB / 389.9 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.01362, allocations: 127.4 kB / 390 MB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01362, allocations: 0 / 390 MB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-05/0.01371, allocations: 83.64 kB / 390.1 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.01407, allocations: 73.59 kB / 390.2 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.01463, allocations: 465.5 kB / 390.6 MB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.881e-05/0.01469, allocations: 92.31 kB / 390.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.995e-05/0.01476, allocations: 42.16 kB / 390.8 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.01482, allocations: 32.48 kB / 390.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01482, allocations: 0 / 390.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of Templates: time 0.00544/0.02026, allocations: 3.324 MB / 394.1 MB, free: 2.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.277000440750271]