Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001873/0.001873, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00105/0.00105, allocations: 160.5 kB / 24.56 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.9952/0.9952, allocations: 177 MB / 204.8 MB, free: 5.59 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.3254/0.3254, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.115e-05, allocations: 6.25 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003661/0.003692, allocations: 1.768 MB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.006122, allocations: 1.733 MB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.006233, allocations: 7.938 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.006574, allocations: 35.78 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.007094, allocations: 107.4 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.007399, allocations: 79.67 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.007629, allocations: 115.5 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.007734, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.007868, allocations: 59.77 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.008017, allocations: 35.89 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.008041, allocations: 4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.008314, allocations: 107.8 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.0086, allocations: 23.91 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.008659, allocations: 19.94 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.00903, allocations: 167.4 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.009034, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.009036, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.009042, allocations: 0 / 383.1 MB, free: 13.72 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006623/0.009705, allocations: 451.8 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.009744, allocations: 8.031 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.009803, allocations: 8.891 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.009996, allocations: 153 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.01002, allocations: 12.36 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.01004, allocations: 384 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.01021, allocations: 112 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.01023, allocations: 7.891 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.01024, allocations: 4 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01025, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.01029, allocations: 11.98 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.01063, allocations: 275.8 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.01076, allocations: 55.11 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.01079, allocations: 27.61 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.0108, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.01092, allocations: 69.05 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.01092, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004927/0.01141, allocations: 157.3 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.01145, allocations: 81.11 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01162, allocations: 211.3 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.01164, allocations: 25.7 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.01169, allocations: 146.9 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.01172, allocations: 23.8 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.01175, allocations: 35.36 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.01187, allocations: 0.4962 MB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.01189, allocations: 11.94 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.01194, allocations: 69.12 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/0.01201, allocations: 55.28 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01201, allocations: 0 / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001203/0.01213, allocations: 93.53 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01214, allocations: 4 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01215, allocations: 0 / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01217, allocations: 8.062 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.01225, allocations: 19.98 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01226, allocations: 7.875 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.01229, allocations: 4 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.0123, allocations: 0 / 385.7 MB, free: 10.87 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 8.254e-05/0.01238, allocations: 164.5 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003053/0.01544, allocations: 11.95 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.01569, allocations: 106.6 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01569, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.0157, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.0157, allocations: 4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.01615, allocations: 396.9 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01615, allocations: 0 / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.01621, allocations: 8 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.01621, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.01623, allocations: 8 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.01623, allocations: 3.984 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01624, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.01648, allocations: 259.5 kB / 386.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.0165, allocations: 11.98 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.01653, allocations: 0 / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.01661, allocations: 8 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.01666, allocations: 7.984 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.01668, allocations: 4 kB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.01679, allocations: 165.5 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01679, allocations: 3.938 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.01717, allocations: 47.86 kB / 386.9 MB, free: 9.594 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.001788/0.01896, allocations: 0.5368 MB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.01918, allocations: 67.58 kB / 387.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.01918, allocations: 0 / 387.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.01925, allocations: 27.67 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.01965, allocations: 27.98 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.02019, allocations: 201.9 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.143e-05/0.02024, allocations: 63.34 kB / 387.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.02031, allocations: 16.97 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.02038, allocations: 32.61 kB / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of SimCode: time 1.653e-06/0.02038, allocations: 0 / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of Templates: time 0.006795/0.02717, allocations: 2.745 MB / 390.6 MB, free: 6.016 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.299034683033824]