Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 110 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.001284/0.001284, allocations: 213.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 75.88 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4351, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003358/0.4385, allocations: 1.739 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.4403, allocations: 1.013 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.4404, allocations: 5.062 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.4408, allocations: 38.17 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.4411, allocations: 99.75 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.4413, allocations: 82.84 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.4415, allocations: 101.8 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4417, allocations: 11.38 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.4418, allocations: 43.78 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.4419, allocations: 34.56 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4419, allocations: 3.438 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.442, allocations: 43.55 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.4421, allocations: 27.59 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.4421, allocations: 35.97 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.4424, allocations: 121.4 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4424, allocations: 1.531 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4424, allocations: 0 / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4424, allocations: 0 / 0.5351 GB, free: 11.07 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.0005965/0.443, allocations: 415.1 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4431, allocations: 8.25 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.4431, allocations: 18.28 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.4434, allocations: 221.2 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4435, allocations: 1.75 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.4435, allocations: 6.875 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.4437, allocations: 54.05 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4437, allocations: 3.906 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4437, allocations: 0 / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4437, allocations: 1.375 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.4438, allocations: 22.97 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.4442, allocations: 294.8 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.4444, allocations: 57.92 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4445, allocations: 17.11 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.4445, allocations: 1.375 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.4446, allocations: 73.12 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.4447, allocations: 0 / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005662/0.4452, allocations: 166 kB / 0.5364 GB, free: 9.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.4453, allocations: 56.66 kB / 0.5364 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.4455, allocations: 196.2 kB / 0.5366 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4455, allocations: 30.69 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.4456, allocations: 101.9 kB / 0.5367 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.4456, allocations: 31.39 kB / 0.5368 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.4457, allocations: 20.47 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4458, allocations: 326 kB / 0.5371 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.4459, allocations: 23.2 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.446, allocations: 40.12 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.4461, allocations: 58.39 kB / 0.5372 GB, free: 9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4461, allocations: 5.062 kB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.4463, allocations: 103.6 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4464, allocations: 5.906 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4464, allocations: 0 / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4464, allocations: 1.562 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4465, allocations: 25.02 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4465, allocations: 0 / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.4466, allocations: 10.47 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4466, allocations: 2.469 kB / 0.5373 GB, free: 8.91 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.0001106/0.4467, allocations: 127 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.4468, allocations: 9.5 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.4468, allocations: 14.59 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4468, allocations: 4.906 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4468, allocations: 4.734 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4469, allocations: 4.625 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.4474, allocations: 402.2 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4474, allocations: 5.094 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.4474, allocations: 8.031 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4474, allocations: 0 / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.4474, allocations: 10.23 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.4475, allocations: 1 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4475, allocations: 1.094 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4477, allocations: 204.4 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.4478, allocations: 88.2 kB / 0.5382 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.4479, allocations: 5.031 kB / 0.5382 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.4479, allocations: 6.328 kB / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.448, allocations: 3.531 kB / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.448, allocations: 7.438 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.4482, allocations: 152.5 kB / 0.5384 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4482, allocations: 0 / 0.5384 GB, free: 7.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.4485, allocations: 20.66 kB / 0.5384 GB, free: 7.949 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.001214/0.4497, allocations: 464.8 kB / 0.5388 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.4499, allocations: 53.91 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4499, allocations: 1.188 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.45, allocations: 36.7 kB / 0.5389 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.4504, allocations: 33.31 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.451, allocations: 254.7 kB / 0.5392 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4513, allocations: 0.7103 MB / 0.5399 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.4514, allocations: 20 kB / 0.5399 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4514, allocations: 0 / 0.5399 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.004501/0.4559, allocations: 1.96 MB / 0.5418 GB, free: 5.707 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches