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.001385/0.001385, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.00189, allocations: 207.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, 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.2422/0.2422, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 75.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4901, allocations: 62.44 MB / 0.5311 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004064/0.4943, allocations: 1.69 MB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.4966, allocations: 1.006 MB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.4967, allocations: 1.375 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.4972, allocations: 45.64 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.4977, allocations: 99.22 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.4979, allocations: 77.53 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.4981, allocations: 95.67 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.4982, allocations: 7.531 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.4984, allocations: 44.09 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.4985, allocations: 33.5 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.4986, allocations: 3.75 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4987, allocations: 40.42 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.4988, allocations: 26.14 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.4989, allocations: 41.02 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.4992, allocations: 131.7 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4992, allocations: 1.312 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4992, allocations: 0 / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.4992, allocations: 0 / 0.5343 GB, free: 11.06 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.0006761/0.4999, allocations: 432 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.4999, allocations: 13.97 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.5, allocations: 10.69 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.5004, allocations: 222.8 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.5004, allocations: 5.469 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.5005, allocations: 6.344 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.5006, allocations: 47.83 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5006, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5007, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.5007, allocations: 1.031 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.5008, allocations: 20.08 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.5011, allocations: 199.9 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.5013, allocations: 50.62 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.5013, allocations: 25.34 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.5014, allocations: 1.125 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.5016, allocations: 67.83 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.5016, allocations: 1.062 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003354/0.5019, allocations: 100.7 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.502, allocations: 52.53 kB / 0.5355 GB, free: 9.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.5023, allocations: 271.4 kB / 0.5358 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5023, allocations: 25.7 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.5024, allocations: 116.4 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.5025, allocations: 17.27 kB / 0.5359 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.5025, allocations: 19.22 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5027, allocations: 324.3 kB / 0.5363 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.5027, allocations: 14.86 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.5028, allocations: 32.7 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.5029, allocations: 46.84 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.503, allocations: 0 / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002066/0.5032, allocations: 93.67 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5032, allocations: 5.281 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5032, allocations: 0 / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.5032, allocations: 1.312 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.5034, allocations: 12.81 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.5034, allocations: 1.031 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.5034, allocations: 10.08 kB / 0.5365 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5035, allocations: 6.562 kB / 0.5365 GB, free: 9.012 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.000171/0.5036, allocations: 136.7 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.5037, allocations: 10.5 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.5037, allocations: 16.97 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.5037, allocations: 0 / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5038, allocations: 1.25 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.5038, allocations: 3.984 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.504, allocations: 207.5 kB / 0.5368 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.504, allocations: 3.984 kB / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.5041, allocations: 3.875 kB / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.5041, allocations: 4 kB / 0.5368 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5041, allocations: 5.312 kB / 0.5368 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5041, allocations: 0 / 0.5368 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5041, allocations: 1.312 kB / 0.5368 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.5044, allocations: 118.6 kB / 0.537 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.5044, allocations: 88.23 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.5045, allocations: 1.219 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.5045, allocations: 10.17 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.5046, allocations: 1.938 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.5046, allocations: 2.344 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.5049, allocations: 206.5 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5049, allocations: 0 / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.5052, allocations: 17.84 kB / 0.5373 GB, free: 8.281 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.001197/0.5064, allocations: 403.2 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.5065, allocations: 43.77 kB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5066, allocations: 0 / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.5066, allocations: 19.77 kB / 0.5377 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.5069, allocations: 37.5 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.5075, allocations: 267.3 kB / 0.538 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.5079, allocations: 0.7192 MB / 0.5387 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.508, allocations: 20.19 kB / 0.5387 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.508, allocations: 13.81 kB / 0.5387 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.508, allocations: 0 / 0.5387 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Templates: time 0.005501/0.5135, allocations: 1.545 MB / 0.5403 GB, free: 6.305 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