Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001695/0.001695, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001677/0.001677, allocations: 160.9 kB / 24.27 MB, free: 172 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 1.494/1.494, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3456/0.3456, allocations: 34.24 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.711e-05, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.289e-05/6e-05, allocations: 8.641 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003825/0.003885, allocations: 1.789 MB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.00638, allocations: 1.06 MB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.006506, allocations: 8 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.007197, allocations: 295.1 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009574/0.008154, allocations: 263 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.008532, allocations: 103.6 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.009058, allocations: 267.2 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.009141, allocations: 5.812 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.009684, allocations: 155.6 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.01018, allocations: 200.1 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.01024, allocations: 8 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.01048, allocations: 55.91 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.01076, allocations: 132.5 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.01099, allocations: 71.66 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008593/0.01185, allocations: 354.7 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706e-05/0.01186, allocations: 4 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.307e-06/0.01187, allocations: 0 / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.939e-05/0.0119, allocations: 0 / 382 MB, free: 14.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001718/0.01361, allocations: 0.6669 MB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.01367, allocations: 8.031 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.01387, allocations: 56.61 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009386/0.01481, allocations: 393.7 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.01483, allocations: 384 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.01485, allocations: 8.375 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.01512, allocations: 83.92 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01513, allocations: 4.188 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.01514, allocations: 384 / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01515, allocations: 7.938 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.0153, allocations: 39.91 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.01588, allocations: 298.1 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.01621, allocations: 105.2 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.01633, allocations: 37.7 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.01635, allocations: 7.938 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.01664, allocations: 109.1 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.01665, allocations: 0 / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006464/0.01729, allocations: 217.2 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.01737, allocations: 81.05 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.01885, allocations: 1.038 MB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.01888, allocations: 29.7 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.01913, allocations: 240.1 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.0192, allocations: 27.8 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.01928, allocations: 33.64 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.01956, allocations: 366.8 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.01967, allocations: 27.98 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.0198, allocations: 59.41 kB / 385.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.02003, allocations: 95.34 kB / 386 MB, free: 9.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02003, allocations: 0 / 386 MB, free: 9.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000432/0.02046, allocations: 181.7 kB / 386.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.02049, allocations: 8 kB / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.0205, allocations: 128 / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.02053, allocations: 0 / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.02069, allocations: 35.88 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.0207, allocations: 8.047 kB / 386.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.02084, allocations: 7.938 kB / 386.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.02085, allocations: 4 kB / 386.2 MB, free: 9.602 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000321/0.02117, allocations: 223.2 kB / 386.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.02129, allocations: 55.62 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.0218, allocations: 201.8 kB / 386.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.0218, allocations: 4 kB / 386.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.02181, allocations: 3.938 kB / 386.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02182, allocations: 4 kB / 386.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.02223, allocations: 265.2 kB / 387 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02223, allocations: 0 / 387 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.02229, allocations: 15.94 kB / 387 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.02229, allocations: 0 / 387 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.02232, allocations: 7.984 kB / 387 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.02232, allocations: 4 kB / 387 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02232, allocations: 0 / 387 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.02279, allocations: 229.4 kB / 387.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.02293, allocations: 67.59 kB / 387.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.02298, allocations: 4 kB / 387.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.02307, allocations: 8 kB / 387.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.02314, allocations: 15.92 kB / 387.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.02317, allocations: 7.984 kB / 387.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001188/0.02436, allocations: 0.7721 MB / 388.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02436, allocations: 0 / 388.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.02466, allocations: 47.98 kB / 388.2 MB, free: 7.625 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002105/0.02677, allocations: 438 kB / 388.6 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.02711, allocations: 91.89 kB / 388.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02712, allocations: 0 / 388.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.02725, allocations: 43.92 kB / 388.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.02777, allocations: 74 kB / 388.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.02936, allocations: 0.8858 MB / 389.7 MB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.02966, allocations: 245.7 kB / 389.9 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.0298, allocations: 58.95 kB / 390 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.02988, allocations: 28.48 kB / 390 MB, free: 5.871 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02988, allocations: 0 / 390 MB, free: 5.871 MB / 362.7 MB Notification: Performance of Templates: time 0.01028/0.04017, allocations: 4.006 MB / 394 MB, free: 1.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.874773671966977]