Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001624/0.001624, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 75.88 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4434, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003705/0.4471, allocations: 1.728 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.4491, allocations: 1.017 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.4493, allocations: 1.375 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.4498, allocations: 42.77 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.4502, allocations: 95.09 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.4506, allocations: 84.28 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.4509, allocations: 104.9 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.451, allocations: 6.875 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.4511, allocations: 52.16 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.178e-05/0.4512, allocations: 33.41 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.4513, allocations: 4.125 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.4514, allocations: 40.86 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.4515, allocations: 26.78 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.4516, allocations: 36 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.4519, allocations: 116.7 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4519, allocations: 1.375 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4519, allocations: 3.938 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4519, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 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.0007017/0.4526, allocations: 415.8 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4527, allocations: 8.844 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.4527, allocations: 13.72 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.4531, allocations: 217.1 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4531, allocations: 5.688 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.4532, allocations: 7 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.4533, allocations: 52.92 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.4534, allocations: 5.344 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4534, allocations: 7.922 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4534, allocations: 1.719 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.4535, allocations: 17.95 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.454, allocations: 294.9 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.4542, allocations: 49.78 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.4542, allocations: 25.22 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.4543, allocations: 0.8438 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.4544, allocations: 69.08 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.4545, allocations: 1.188 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.4551, allocations: 173.4 kB / 0.5363 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4551, allocations: 52.62 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.4553, allocations: 192.6 kB / 0.5366 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4554, allocations: 30.73 kB / 0.5366 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.4554, allocations: 101.9 kB / 0.5367 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.4555, allocations: 26.92 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.4555, allocations: 28.48 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4557, allocations: 330.3 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.4558, allocations: 19.55 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.4558, allocations: 34.69 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.456, allocations: 66.92 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.456, allocations: 1.125 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002315/0.4562, allocations: 107 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4562, allocations: 5.344 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4563, allocations: 1.031 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4563, allocations: 5.438 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.4564, allocations: 20.55 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4564, allocations: 1.75 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.4565, allocations: 10.14 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.4565, allocations: 1.906 kB / 0.5373 GB, free: 8.875 MB / 398.1 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 0.0001138/0.4566, allocations: 127.4 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.4566, allocations: 10.25 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.4567, allocations: 21.83 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4567, allocations: 5 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4567, allocations: 0.9375 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4567, allocations: 3.938 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.4572, allocations: 394.6 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4572, allocations: 3.938 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.4572, allocations: 11.81 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4573, allocations: 1.031 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4573, allocations: 6.5 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4573, allocations: 0 / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4573, allocations: 1.312 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.4576, allocations: 197.3 kB / 0.5381 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.4576, allocations: 91.22 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.4577, allocations: 9.562 kB / 0.5382 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.4577, allocations: 6.594 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.4578, allocations: 10.55 kB / 0.5382 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4578, allocations: 3.969 kB / 0.5382 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.458, allocations: 153 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.458, allocations: 0 / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.4583, allocations: 24.75 kB / 0.5384 GB, free: 7.91 MB / 398.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: 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 (8): * Single equations (assignments): 6 * 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.001098/0.4594, allocations: 458.1 kB / 0.5388 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.4596, allocations: 69.69 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4596, allocations: 1.031 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.4597, allocations: 25.02 kB / 0.5389 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.46, allocations: 32.95 kB / 0.5389 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.4606, allocations: 266.3 kB / 0.5392 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.4609, allocations: 0.7021 MB / 0.5399 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.4609, allocations: 16 kB / 0.5399 GB, free: 6.688 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.461, allocations: 0 / 0.5399 GB, free: 6.688 MB / 398.1 MB Notification: Performance of Templates: time 0.004861/0.4658, allocations: 1.965 MB / 0.5418 GB, free: 5.668 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches