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.001758/0.001758, allocations: 107 kB / 19.8 MB, free: 2.5 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.002248/0.002248, allocations: 216.2 kB / 23 MB, free: 5.578 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.593/1.593, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.2794/0.2794, allocations: 46.91 MB / 359.4 MB, free: 4.863 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.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.002308/0.002308, allocations: 80.2 kB / 0.4947 GB, free: 8.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.444, allocations: 65.99 MB / 0.5591 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.0049/0.4489, allocations: 1.842 MB / 0.5609 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.4519, allocations: 1.119 MB / 0.562 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.452, allocations: 0 / 0.562 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007332/0.4527, allocations: 307.2 kB / 0.5623 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.4534, allocations: 251.2 kB / 0.5626 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.4538, allocations: 103.7 kB / 0.5627 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.4544, allocations: 263.2 kB / 0.5629 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.193e-05/0.4544, allocations: 9.688 kB / 0.5629 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/0.4548, allocations: 127.6 kB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.4552, allocations: 215.8 kB / 0.5633 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.4552, allocations: 8 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.4554, allocations: 47.98 kB / 0.5633 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.4556, allocations: 136.5 kB / 0.5634 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.4559, allocations: 150.8 kB / 0.5636 GB, free: 460 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006616/0.4565, allocations: 372.6 kB / 0.5639 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.4565, allocations: 3.984 kB / 0.5639 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4565, allocations: 0 / 0.5639 GB, free: 88 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4566, allocations: 3.938 kB / 0.5639 GB, free: 84 kB / 398.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.001563/0.4581, allocations: 0.7412 MB / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4582, allocations: 12.03 kB / 0.5647 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.4583, allocations: 52.59 kB / 0.5647 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.4593, allocations: 464.2 kB / 0.5652 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.4594, allocations: 4.375 kB / 0.5652 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.4594, allocations: 4.375 kB / 0.5652 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.4597, allocations: 91.67 kB / 0.5653 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4597, allocations: 3.984 kB / 0.5653 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4598, allocations: 0 / 0.5653 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4598, allocations: 0 / 0.5653 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.4599, allocations: 35.92 kB / 0.5653 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.4606, allocations: 374.4 kB / 0.5657 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.4611, allocations: 97.17 kB / 0.5658 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.4613, allocations: 45.69 kB / 0.5658 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.4613, allocations: 0 / 0.5658 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.4617, allocations: 113 kB / 0.5659 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.4617, allocations: 0 / 0.5659 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008144/0.4625, allocations: 197.3 kB / 0.5661 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.4626, allocations: 89.03 kB / 0.5662 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.4645, allocations: 1.019 MB / 0.5672 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.4646, allocations: 29.7 kB / 0.5672 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.4649, allocations: 232.1 kB / 0.5674 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.4649, allocations: 31.78 kB / 0.5675 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.465, allocations: 21.72 kB / 0.5675 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003623/0.4654, allocations: 370.8 kB / 0.5678 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4655, allocations: 35.97 kB / 0.5679 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.4657, allocations: 59.42 kB / 0.5679 GB, free: 11.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.466, allocations: 87.84 kB / 0.568 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.466, allocations: 4 kB / 0.568 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006289/0.4667, allocations: 177.2 kB / 0.5682 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4667, allocations: 4 kB / 0.5682 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4667, allocations: 4 kB / 0.5682 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4667, allocations: 0 / 0.5682 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.4669, allocations: 23.92 kB / 0.5682 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.4669, allocations: 4 kB / 0.5682 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.4671, allocations: 11.89 kB / 0.5682 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.4671, allocations: 16.05 kB / 0.5682 GB, free: 11.39 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.0004086/0.4676, allocations: 214.6 kB / 0.5684 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.4677, allocations: 55.61 kB / 0.5685 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/0.4684, allocations: 205.6 kB / 0.5687 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.4684, allocations: 3.984 kB / 0.5687 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4684, allocations: 4 kB / 0.5687 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.4684, allocations: 3.984 kB / 0.5687 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.469, allocations: 341.4 kB / 0.569 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.469, allocations: 7.938 kB / 0.569 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.4691, allocations: 11.94 kB / 0.5691 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4691, allocations: 4 kB / 0.5691 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4691, allocations: 256 / 0.5691 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.4691, allocations: 8 kB / 0.5691 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4691, allocations: 0 / 0.5691 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.4697, allocations: 213.6 kB / 0.5693 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.4699, allocations: 144.7 kB / 0.5694 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.47, allocations: 4 kB / 0.5694 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4701, allocations: 7.938 kB / 0.5694 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.4702, allocations: 11.98 kB / 0.5694 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.4703, allocations: 7.984 kB / 0.5694 GB, free: 10.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001431/0.4717, allocations: 0.7643 MB / 0.5702 GB, free: 9.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4717, allocations: 0 / 0.5702 GB, free: 9.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004916/0.4722, allocations: 43.94 kB / 0.5702 GB, free: 9.254 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.002478/0.4747, allocations: 414.1 kB / 0.5706 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.4752, allocations: 79.89 kB / 0.5707 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4752, allocations: 0 / 0.5707 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.4754, allocations: 39.92 kB / 0.5707 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.4762, allocations: 76.39 kB / 0.5708 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.4784, allocations: 0.8894 MB / 0.5717 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.4792, allocations: 0.8427 MB / 0.5725 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.4794, allocations: 54.95 kB / 0.5725 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4796, allocations: 31.42 kB / 0.5726 GB, free: 6.926 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4796, allocations: 7.938 kB / 0.5726 GB, free: 6.918 MB / 414.1 MB Notification: Performance of Templates: time 0.01531/0.4949, allocations: 3.82 MB / 0.5763 GB, free: 3.113 MB / 414.1 MB " [Timeout remaining time 659] 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.0.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.668834391050041]