Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.001241, allocations: 122.8 kB / 17.79 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.001459/0.001459, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 75.88 kB / 481.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4653, allocations: 62.44 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00465/0.47, allocations: 1.697 MB / 0.5327 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.4726, allocations: 0.9984 MB / 0.5337 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.4728, allocations: 1.375 kB / 0.5337 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.4734, allocations: 53.62 kB / 0.5337 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004738/0.4739, allocations: 99.22 kB / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.4742, allocations: 73.55 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.4744, allocations: 102.2 kB / 0.534 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.4745, allocations: 5.734 kB / 0.534 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.4746, allocations: 42.92 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.4748, allocations: 29.42 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.4748, allocations: 4.125 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.475, allocations: 36.59 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.4751, allocations: 30.86 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.4752, allocations: 39.8 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.4755, allocations: 118.7 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4755, allocations: 0 / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4755, allocations: 0 / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4755, allocations: 0 / 0.5343 GB, free: 11.31 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.0007105/0.4762, allocations: 443 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.4763, allocations: 8.938 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.4764, allocations: 10.94 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.4768, allocations: 224.4 kB / 0.535 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4768, allocations: 384 / 0.535 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.4768, allocations: 14.53 kB / 0.535 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.477, allocations: 43.16 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.477, allocations: 0 / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.477, allocations: 0.8438 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4771, allocations: 7.938 kB / 0.535 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.4772, allocations: 19.98 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.4774, allocations: 192.3 kB / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.4776, allocations: 55.2 kB / 0.5353 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.4777, allocations: 20.98 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.4778, allocations: 1.125 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.4779, allocations: 67.83 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.478, allocations: 1.156 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003582/0.4783, allocations: 101 kB / 0.5355 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.4784, allocations: 55.39 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.4788, allocations: 275.2 kB / 0.5358 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.4788, allocations: 26.8 kB / 0.5358 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.4789, allocations: 119 kB / 0.5359 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.4789, allocations: 15.36 kB / 0.5359 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.479, allocations: 22.17 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4791, allocations: 328.2 kB / 0.5363 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.4792, allocations: 11.25 kB / 0.5363 GB, free: 9.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.4793, allocations: 28.08 kB / 0.5363 GB, free: 9.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.4794, allocations: 54.55 kB / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4794, allocations: 1.406 kB / 0.5364 GB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002098/0.4796, allocations: 88.84 kB / 0.5364 GB, free: 9.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4797, allocations: 5.188 kB / 0.5364 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4797, allocations: 0 / 0.5364 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4797, allocations: 1.156 kB / 0.5364 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.4798, allocations: 12.83 kB / 0.5365 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4798, allocations: 1.062 kB / 0.5365 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.4799, allocations: 10.12 kB / 0.5365 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4799, allocations: 6.156 kB / 0.5365 GB, free: 9.238 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.0001338/0.4801, allocations: 132.9 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.4801, allocations: 11.22 kB / 0.5366 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.4802, allocations: 20.3 kB / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4802, allocations: 0 / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4802, allocations: 1.406 kB / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4802, allocations: 0 / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.4804, allocations: 202.6 kB / 0.5368 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4804, allocations: 1.25 kB / 0.5368 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.4805, allocations: 7.375 kB / 0.5368 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4805, allocations: 3.938 kB / 0.5368 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4805, allocations: 1.188 kB / 0.5368 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4805, allocations: 7.922 kB / 0.5368 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4805, allocations: 1.156 kB / 0.5368 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.4808, allocations: 110.9 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.4808, allocations: 96.06 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.4809, allocations: 1.25 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.4809, allocations: 14.53 kB / 0.5371 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.481, allocations: 5.297 kB / 0.5371 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.481, allocations: 6.422 kB / 0.5371 GB, free: 8.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.4813, allocations: 199.5 kB / 0.5373 GB, free: 8.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4813, allocations: 0 / 0.5373 GB, free: 8.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.4816, allocations: 20.94 kB / 0.5373 GB, free: 8.504 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.001445/0.4831, allocations: 398.3 kB / 0.5377 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.4833, allocations: 52.06 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4833, allocations: 0 / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.4834, allocations: 15.75 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.4838, allocations: 35.08 kB / 0.5378 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.4844, allocations: 267.6 kB / 0.538 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4848, allocations: 0.7189 MB / 0.5387 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.464e-05/0.4848, allocations: 19.38 kB / 0.5387 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.4849, allocations: 14.22 kB / 0.5387 GB, free: 7.316 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4849, allocations: 0 / 0.5387 GB, free: 7.316 MB / 398.1 MB Notification: Performance of Templates: time 0.005442/0.4904, allocations: 1.54 MB / 0.5402 GB, free: 6.535 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches