Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001382/0.001382, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00145/0.00145, allocations: 214.6 kB / 23.73 MB, free: 4.16 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.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2458/0.2458, allocations: 46.94 MB / 360.8 MB, free: 3.91 MB / 286.1 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 83.88 kB / 0.4967 GB, free: 6.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4353, allocations: 66.09 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003956/0.4393, allocations: 1.794 MB / 0.563 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.4414, allocations: 1.045 MB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.4415, allocations: 3.938 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006852/0.4422, allocations: 307.3 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.4428, allocations: 259.2 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.443, allocations: 111.6 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.4434, allocations: 263.3 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.4435, allocations: 9.797 kB / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.4437, allocations: 127.5 kB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.444, allocations: 223.4 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.444, allocations: 8 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.4442, allocations: 47.98 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.4443, allocations: 139.6 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.4445, allocations: 115 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.445, allocations: 392.5 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.445, allocations: 0 / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.445, allocations: 0 / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.445, allocations: 0 / 0.5659 GB, free: 15.12 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.001235/0.4462, allocations: 0.6786 MB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4463, allocations: 12.03 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.4464, allocations: 56.55 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.4471, allocations: 390.5 kB / 0.567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.4471, allocations: 384 / 0.567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.4472, allocations: 12.34 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.4474, allocations: 87.69 kB / 0.5671 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4475, allocations: 0 / 0.5671 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4475, allocations: 3.984 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4475, allocations: 0 / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.4476, allocations: 39.92 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.4481, allocations: 318 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.4484, allocations: 105.2 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.912e-05/0.4485, allocations: 37.69 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.4485, allocations: 4 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.4487, allocations: 113 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4487, allocations: 7.938 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005019/0.4492, allocations: 209.2 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.4493, allocations: 81.05 kB / 0.568 GB, free: 12.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.4505, allocations: 1.062 MB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.4505, allocations: 29.7 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.4507, allocations: 236.1 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.4508, allocations: 35.73 kB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.4508, allocations: 25.72 kB / 0.5693 GB, free: 11.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.451, allocations: 374.8 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.4511, allocations: 35.98 kB / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.4512, allocations: 59.41 kB / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.4514, allocations: 95.86 kB / 0.5699 GB, free: 10.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4514, allocations: 0 / 0.5699 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000301/0.4517, allocations: 173.2 kB / 0.57 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4517, allocations: 7.938 kB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4518, allocations: 4 kB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.4518, allocations: 4.062 kB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4519, allocations: 31.92 kB / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4519, allocations: 0 / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.286e-05/0.452, allocations: 11.92 kB / 0.5701 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.452, allocations: 4 kB / 0.5701 GB, free: 10.59 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.0002529/0.4523, allocations: 218.7 kB / 0.5703 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.4524, allocations: 63.55 kB / 0.5704 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.4528, allocations: 201.8 kB / 0.5706 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4528, allocations: 8 kB / 0.5706 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4528, allocations: 0 / 0.5706 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4528, allocations: 0 / 0.5706 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.4531, allocations: 273.2 kB / 0.5708 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4531, allocations: 3.938 kB / 0.5708 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.4531, allocations: 8 kB / 0.5708 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4531, allocations: 0 / 0.5708 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.4532, allocations: 12.17 kB / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4532, allocations: 0 / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.4532, allocations: 4 kB / 0.5709 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.4536, allocations: 225.5 kB / 0.5711 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.4537, allocations: 71.59 kB / 0.5711 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.4537, allocations: 7.922 kB / 0.5712 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.4538, allocations: 11.94 kB / 0.5712 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.4539, allocations: 7.984 kB / 0.5712 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4539, allocations: 4 kB / 0.5712 GB, free: 9.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009533/0.4548, allocations: 0.7956 MB / 0.572 GB, free: 8.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4548, allocations: 0 / 0.572 GB, free: 8.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.4552, allocations: 47.94 kB / 0.572 GB, free: 8.586 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.001825/0.457, allocations: 422.3 kB / 0.5724 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.4573, allocations: 91.89 kB / 0.5725 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4573, allocations: 0 / 0.5725 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4574, allocations: 39.92 kB / 0.5725 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.4579, allocations: 72.95 kB / 0.5726 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.4595, allocations: 0.8934 MB / 0.5735 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4598, allocations: 245.7 kB / 0.5737 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.4599, allocations: 54.95 kB / 0.5738 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.46, allocations: 35.42 kB / 0.5738 GB, free: 6.848 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.46, allocations: 0 / 0.5738 GB, free: 6.848 MB / 414.1 MB Notification: Performance of Templates: time 0.009956/0.47, allocations: 4.39 MB / 0.5781 GB, free: 2.488 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.448554860427976]