Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001159, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002303/0.002303, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001528, allocations: 71.89 kB / 481.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4455, allocations: 62.45 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004368/0.4499, allocations: 1.939 MB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.4521, allocations: 1.059 MB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.4522, allocations: 1.375 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.4526, allocations: 45.33 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.4529, allocations: 98.98 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.4531, allocations: 97.62 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.4534, allocations: 145.3 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.4536, allocations: 43.2 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.4537, allocations: 56.34 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.4538, allocations: 45.47 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.4538, allocations: 10.66 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.4539, allocations: 51.97 kB / 0.5346 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.454, allocations: 22.73 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.4541, allocations: 55.02 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.4544, allocations: 152.5 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4544, allocations: 5.484 kB / 0.5348 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4544, allocations: 0 / 0.5348 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4544, allocations: 3.938 kB / 0.5348 GB, free: 10.72 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007316/0.4552, allocations: 479.8 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4552, allocations: 9.438 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.4553, allocations: 16.19 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.4556, allocations: 239.6 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.4557, allocations: 7.781 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.4557, allocations: 12.5 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.4561, allocations: 105.7 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4561, allocations: 1.188 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.4561, allocations: 1.156 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.4561, allocations: 1.125 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.4563, allocations: 54.94 kB / 0.5357 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.4571, allocations: 0.5 MB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.4576, allocations: 96.25 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4577, allocations: 34.94 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.4577, allocations: 2.094 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.458, allocations: 89.09 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.458, allocations: 0 / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004998/0.4585, allocations: 144 kB / 0.5365 GB, free: 9.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4586, allocations: 60.81 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.4589, allocations: 193.8 kB / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.4589, allocations: 31.11 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.459, allocations: 122.3 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.459, allocations: 36.5 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.4591, allocations: 26.28 kB / 0.537 GB, free: 8.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4592, allocations: 330.5 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.4593, allocations: 33.06 kB / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.4594, allocations: 60.06 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.4596, allocations: 97.7 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4597, allocations: 0 / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002907/0.46, allocations: 141.5 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.46, allocations: 7.625 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.46, allocations: 2.406 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.46, allocations: 5.156 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4601, allocations: 26.64 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.4602, allocations: 2.094 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.4602, allocations: 5.438 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4603, allocations: 7.219 kB / 0.5376 GB, free: 8.102 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001296/0.4604, allocations: 135.3 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4604, allocations: 14.16 kB / 0.5378 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.4605, allocations: 22.67 kB / 0.5378 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4605, allocations: 12.98 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4605, allocations: 0 / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4605, allocations: 1.094 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.4607, allocations: 210.2 kB / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4607, allocations: 0 / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.4608, allocations: 13.52 kB / 0.538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4608, allocations: 1.281 kB / 0.538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.4609, allocations: 1.344 kB / 0.538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4609, allocations: 7.875 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4609, allocations: 1.375 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.4613, allocations: 184.4 kB / 0.5382 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.4614, allocations: 88.66 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.4614, allocations: 2.531 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.4615, allocations: 7.531 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.4615, allocations: 15.17 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.4615, allocations: 2.375 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.4617, allocations: 146.3 kB / 0.5385 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4617, allocations: 0 / 0.5385 GB, free: 7.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.4619, allocations: 23.59 kB / 0.5385 GB, free: 7.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001026/0.463, allocations: 415.8 kB / 0.5389 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.4633, allocations: 75.38 kB / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4633, allocations: 256 / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4634, allocations: 42.33 kB / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.4638, allocations: 44.31 kB / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.4644, allocations: 269.8 kB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.4648, allocations: 0.7155 MB / 0.54 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.771e-05/0.4649, allocations: 24 kB / 0.54 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.4649, allocations: 15.94 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4649, allocations: 0 / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.005785/0.4707, allocations: 1.901 MB / 0.5419 GB, free: 5.137 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches