Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 117.2 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.001285/0.001286, allocations: 203.8 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.517/1.517, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 79.88 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4625, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.005108/0.4676, allocations: 1.943 MB / 0.5329 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.4704, allocations: 1.051 MB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.4706, allocations: 5.312 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.4711, allocations: 49.55 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.4716, allocations: 99.16 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.4719, allocations: 93.11 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.4723, allocations: 146.6 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.4724, allocations: 29.67 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.4726, allocations: 61.39 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.4728, allocations: 49.28 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.4728, allocations: 7 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.473, allocations: 51.69 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.4731, allocations: 30.5 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.4732, allocations: 47.66 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.4736, allocations: 148.8 kB / 0.5348 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4736, allocations: 3.938 kB / 0.5348 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4736, allocations: 4 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4736, allocations: 1.219 kB / 0.5348 GB, free: 10.73 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.00106/0.4747, allocations: 486.9 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.4747, allocations: 13.12 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.4748, allocations: 16.12 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.4754, allocations: 232.7 kB / 0.5355 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.4754, allocations: 14.91 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.4754, allocations: 13.59 kB / 0.5355 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.4758, allocations: 109.1 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4758, allocations: 1.375 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.4758, allocations: 1.375 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.4759, allocations: 1.375 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.4761, allocations: 50.03 kB / 0.5357 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008176/0.4769, allocations: 0.5074 MB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.4774, allocations: 92.78 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.4776, allocations: 39.42 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.4776, allocations: 1.281 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.4779, allocations: 85.25 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.4779, allocations: 0 / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005597/0.4784, allocations: 148.1 kB / 0.5365 GB, free: 9.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.4785, allocations: 56.31 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.4788, allocations: 194.7 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4788, allocations: 27.86 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.479, allocations: 122.4 kB / 0.5369 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.979e-05/0.479, allocations: 31.89 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.4791, allocations: 30.42 kB / 0.537 GB, free: 8.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4792, allocations: 327 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.4794, allocations: 31.95 kB / 0.5373 GB, free: 8.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.4795, allocations: 68.02 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.4798, allocations: 101.4 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4798, allocations: 0 / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003738/0.4802, allocations: 142 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4803, allocations: 5.531 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4803, allocations: 2.219 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4803, allocations: 1.156 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.4804, allocations: 31.17 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4805, allocations: 1.062 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.94e-05/0.4806, allocations: 5.688 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.4806, allocations: 8.281 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.0001833/0.4808, allocations: 140.3 kB / 0.5378 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.4808, allocations: 14.34 kB / 0.5378 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.4809, allocations: 14.78 kB / 0.5378 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4809, allocations: 5.469 kB / 0.5378 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4809, allocations: 0 / 0.5378 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4809, allocations: 4 kB / 0.5378 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.4812, allocations: 215.4 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4812, allocations: 0 / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.4813, allocations: 9.375 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4813, allocations: 1.344 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4814, allocations: 5.25 kB / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.4814, allocations: 7.922 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.4814, allocations: 4.969 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.4819, allocations: 181.9 kB / 0.5382 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.482, allocations: 88.2 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.4821, allocations: 1.531 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.4822, allocations: 10.8 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.4822, allocations: 16.42 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.4823, allocations: 2.344 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.4825, allocations: 146 kB / 0.5385 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4825, allocations: 4.062 kB / 0.5385 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.4829, allocations: 24.16 kB / 0.5385 GB, free: 7.328 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.001397/0.4843, allocations: 405.7 kB / 0.5389 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.4846, allocations: 78.67 kB / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4846, allocations: 0 / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.4848, allocations: 38.61 kB / 0.539 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.4852, allocations: 50.56 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.000678/0.4859, allocations: 265.3 kB / 0.5393 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4863, allocations: 0.7121 MB / 0.54 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.725e-05/0.4864, allocations: 24.12 kB / 0.54 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.4864, allocations: 20.61 kB / 0.54 GB, free: 6.102 MB / 398.1 MB Notification: Performance of SimCode: time 3.256e-06/0.4865, allocations: 0 / 0.54 GB, free: 6.102 MB / 398.1 MB Notification: Performance of Templates: time 0.007091/0.4936, allocations: 1.896 MB / 0.5419 GB, free: 5.145 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches