Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001667/0.001667, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002289/0.002289, allocations: 207.9 kB / 23.73 MB, free: 4.391 MB / 14.72 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.548/1.548, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 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.2386/0.2386, allocations: 46.96 MB / 360.8 MB, free: 3.926 MB / 286.1 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 84.11 kB / 0.4967 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4125, allocations: 66.08 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003893/0.4164, allocations: 1.786 MB / 0.563 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.4187, allocations: 1.041 MB / 0.564 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.4188, allocations: 3.938 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.4194, allocations: 299.3 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006208/0.42, allocations: 259.2 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.4203, allocations: 107.7 kB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.4207, allocations: 259.3 kB / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.4208, allocations: 9.812 kB / 0.5649 GB, free: 204 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.421, allocations: 135.5 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.4213, allocations: 208 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.4214, allocations: 8 kB / 0.5652 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.4215, allocations: 55.81 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.4217, allocations: 132.5 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.4218, allocations: 107.1 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.4224, allocations: 380.6 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4224, allocations: 0 / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4224, allocations: 4 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4224, allocations: 0 / 0.5659 GB, free: 15.2 MB / 414.1 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.001259/0.4236, allocations: 0.6786 MB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4237, allocations: 8.031 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.4238, allocations: 52.61 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006857/0.4245, allocations: 386.5 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.4245, allocations: 4.375 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.4245, allocations: 12.3 kB / 0.567 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.4248, allocations: 95.66 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4248, allocations: 0 / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.4248, allocations: 3.984 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4248, allocations: 4 kB / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.4249, allocations: 27.98 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.4254, allocations: 310 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.4256, allocations: 101.2 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4258, allocations: 45.69 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.4258, allocations: 0 / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.426, allocations: 113 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.426, allocations: 0 / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000538/0.4266, allocations: 209.1 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.4266, allocations: 85.11 kB / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.4279, allocations: 1.026 MB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.4279, allocations: 33.7 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.4281, allocations: 232.1 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.4282, allocations: 35.77 kB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.4282, allocations: 29.72 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.4284, allocations: 366.8 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.4285, allocations: 35.97 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4286, allocations: 63.36 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4288, allocations: 95.84 kB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4289, allocations: 0 / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003129/0.4292, allocations: 181.2 kB / 0.5699 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4292, allocations: 7.938 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4292, allocations: 0 / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4292, allocations: 4 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4293, allocations: 23.98 kB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4293, allocations: 7.938 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.335e-05/0.4294, allocations: 11.89 kB / 0.57 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.4295, allocations: 7.938 kB / 0.57 GB, free: 10.71 MB / 414.1 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.0002383/0.4297, allocations: 226.7 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.4298, allocations: 55.61 kB / 0.5703 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.4302, allocations: 201.8 kB / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4302, allocations: 0 / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.4302, allocations: 4 kB / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4302, allocations: 3.984 kB / 0.5705 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.4305, allocations: 257.2 kB / 0.5707 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4305, allocations: 0 / 0.5707 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.4305, allocations: 11.98 kB / 0.5707 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4305, allocations: 4 kB / 0.5707 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.4305, allocations: 11.94 kB / 0.5708 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4305, allocations: 4.188 kB / 0.5708 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4306, allocations: 4 kB / 0.5708 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.4309, allocations: 221.5 kB / 0.571 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.431, allocations: 71.58 kB / 0.571 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.4311, allocations: 7.938 kB / 0.571 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.4312, allocations: 4 kB / 0.5711 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.4312, allocations: 11.92 kB / 0.5711 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4313, allocations: 11.98 kB / 0.5711 GB, free: 9.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008512/0.4321, allocations: 0.7643 MB / 0.5718 GB, free: 8.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4321, allocations: 4 kB / 0.5718 GB, free: 8.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000272/0.4324, allocations: 47.98 kB / 0.5719 GB, free: 8.742 MB / 414.1 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.001713/0.4341, allocations: 425.2 kB / 0.5723 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.4344, allocations: 87.89 kB / 0.5724 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4344, allocations: 0 / 0.5724 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.4345, allocations: 39.92 kB / 0.5724 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.435, allocations: 81.22 kB / 0.5725 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.4364, allocations: 0.8738 MB / 0.5733 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4367, allocations: 241.7 kB / 0.5736 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.4368, allocations: 58.88 kB / 0.5736 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.4369, allocations: 31.42 kB / 0.5736 GB, free: 7.023 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4369, allocations: 4 kB / 0.5736 GB, free: 7.02 MB / 414.1 MB Notification: Performance of Templates: time 0.01061/0.4475, allocations: 4.327 MB / 0.5779 GB, free: 2.727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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: 5.489894336089492]