Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001682/0.001682, allocations: 117.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2564/0.2564, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.89 kB / 481.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3948, allocations: 62.42 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003502/0.3984, allocations: 1.696 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.4001, allocations: 1.002 MB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.4002, allocations: 1.375 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.4005, allocations: 45.64 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.4008, allocations: 107.2 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.401, allocations: 73.59 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.4012, allocations: 98.14 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.731e-05/0.4013, allocations: 9.719 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.4014, allocations: 46.84 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.4015, allocations: 29.47 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.4015, allocations: 2.75 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.4016, allocations: 32.61 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.4016, allocations: 30.86 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.4017, allocations: 45.14 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.4019, allocations: 123.6 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.402, allocations: 0 / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.402, allocations: 5.375 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.402, allocations: 0 / 0.5343 GB, free: 11.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005789/0.4026, allocations: 437.1 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4026, allocations: 9.844 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.4027, allocations: 11.67 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.403, allocations: 227.1 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.403, allocations: 5.781 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.403, allocations: 10.38 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4032, allocations: 46.86 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4032, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4032, allocations: 1.281 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4032, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.4033, allocations: 19.64 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.4035, allocations: 197 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.4037, allocations: 50.03 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.4037, allocations: 25.53 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4038, allocations: 5.125 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.4039, allocations: 63.77 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.4039, allocations: 1.156 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003077/0.4042, allocations: 100.3 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.4043, allocations: 52.5 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.4046, allocations: 271.2 kB / 0.5358 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.4046, allocations: 26.86 kB / 0.5358 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.4047, allocations: 114.9 kB / 0.5359 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.4047, allocations: 18.27 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.4048, allocations: 19.09 kB / 0.536 GB, free: 9.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4049, allocations: 331.9 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.4049, allocations: 15.05 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.405, allocations: 32.27 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/0.4051, allocations: 39.22 kB / 0.5364 GB, free: 9.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4051, allocations: 0 / 0.5364 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001724/0.4053, allocations: 93.48 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4053, allocations: 5.531 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4053, allocations: 4 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4054, allocations: 5.312 kB / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.4054, allocations: 8.281 kB / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.4055, allocations: 1.469 kB / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.4055, allocations: 18.78 kB / 0.5365 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4055, allocations: 1.469 kB / 0.5365 GB, free: 9.039 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 (7): * Single equations (assignments): 7 * 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.000105/0.4056, allocations: 133.4 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.4057, allocations: 14.31 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.4057, allocations: 23.66 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4057, allocations: 1.281 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4057, allocations: 7.938 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4058, allocations: 8.906 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.4059, allocations: 195.5 kB / 0.5368 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4059, allocations: 0 / 0.5368 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.4059, allocations: 3.75 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.406, allocations: 0 / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.406, allocations: 5.219 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.406, allocations: 1.375 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.406, allocations: 0 / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.4062, allocations: 119 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.4062, allocations: 87.89 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4063, allocations: 1.312 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.4063, allocations: 10.55 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4064, allocations: 1.312 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.4064, allocations: 2.719 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.4066, allocations: 202.3 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4066, allocations: 7.938 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.4068, allocations: 18.12 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001034/0.4078, allocations: 404.8 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.408, allocations: 39.52 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.408, allocations: 0 / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.4081, allocations: 23.86 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.4084, allocations: 35.09 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.409, allocations: 264 kB / 0.538 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.4093, allocations: 0.7182 MB / 0.5387 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.4093, allocations: 16.12 kB / 0.5387 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.4094, allocations: 14 kB / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4094, allocations: 0 / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of Templates: time 0.004717/0.4141, allocations: 1.548 MB / 0.5403 GB, free: 6.328 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches