Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, 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.2306/0.2306, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 76.09 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4188, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003573/0.4225, allocations: 1.749 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.4248, allocations: 1.023 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.4249, allocations: 1.375 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.4254, allocations: 90.17 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.4259, allocations: 124.7 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.4261, allocations: 82.59 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.4264, allocations: 120.1 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.4265, allocations: 8.406 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4267, allocations: 63.75 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.4268, allocations: 62.81 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4269, allocations: 4.969 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.427, allocations: 62.38 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.4271, allocations: 37.78 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.4272, allocations: 36.69 kB / 0.5345 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.4274, allocations: 138.4 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4274, allocations: 1.156 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4274, allocations: 0 / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4275, allocations: 0 / 0.5346 GB, free: 10.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006446/0.4281, allocations: 444 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4282, allocations: 10.28 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.4282, allocations: 14.38 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.4286, allocations: 227.7 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4286, allocations: 2.688 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.4286, allocations: 10.53 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4288, allocations: 61.03 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4288, allocations: 0 / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4289, allocations: 1.219 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4289, allocations: 0 / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.429, allocations: 24.53 kB / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.4294, allocations: 310.4 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.4297, allocations: 61.67 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.4298, allocations: 21.62 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.4298, allocations: 1.219 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.43, allocations: 74.17 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.43, allocations: 1.375 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008651/0.4308, allocations: 254.5 kB / 0.536 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.4309, allocations: 60.52 kB / 0.5361 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.4312, allocations: 236.3 kB / 0.5363 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4312, allocations: 27.14 kB / 0.5363 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4314, allocations: 110.8 kB / 0.5365 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.4314, allocations: 33.08 kB / 0.5365 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.4315, allocations: 30.41 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.4317, allocations: 323 kB / 0.5368 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.4318, allocations: 31.23 kB / 0.5369 GB, free: 8.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.4319, allocations: 43.98 kB / 0.5369 GB, free: 8.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.4321, allocations: 84.78 kB / 0.537 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4321, allocations: 0 / 0.537 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002449/0.4323, allocations: 130.2 kB / 0.5371 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4324, allocations: 5.344 kB / 0.5371 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4324, allocations: 0 / 0.5371 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4324, allocations: 5.625 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.4325, allocations: 25.36 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4325, allocations: 5.25 kB / 0.5371 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.4326, allocations: 6.266 kB / 0.5371 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.4326, allocations: 3.188 kB / 0.5371 GB, free: 8.641 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 (13): * Single equations (assignments): 13 * 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.0001275/0.4327, allocations: 134.5 kB / 0.5373 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.4328, allocations: 14.94 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.4328, allocations: 24.33 kB / 0.5373 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4328, allocations: 1.938 kB / 0.5373 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.4329, allocations: 3.938 kB / 0.5373 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4329, allocations: 5.219 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.4334, allocations: 466.1 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4335, allocations: 5.094 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.4335, allocations: 15.72 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4335, allocations: 1.062 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.4335, allocations: 6.141 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4336, allocations: 2.438 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4336, allocations: 0 / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.4339, allocations: 230.5 kB / 0.538 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.4339, allocations: 96.94 kB / 0.5381 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.434, allocations: 6.094 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.434, allocations: 2.688 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.4341, allocations: 12.8 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.4341, allocations: 4.531 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.4343, allocations: 173 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4343, allocations: 0 / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.4346, allocations: 28.94 kB / 0.5383 GB, free: 7.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001296/0.4359, allocations: 0.5032 MB / 0.5388 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4362, allocations: 73.42 kB / 0.5389 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4362, allocations: 1.281 kB / 0.5389 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.4363, allocations: 43.27 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.4367, allocations: 42.3 kB / 0.539 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006983/0.4374, allocations: 295.8 kB / 0.5393 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4378, allocations: 0.7165 MB / 0.54 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.972e-05/0.4379, allocations: 24 kB / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.4379, allocations: 16.88 kB / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.438, allocations: 1.531 kB / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of Templates: time 0.005882/0.4438, allocations: 2.057 MB / 0.542 GB, free: 5.258 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches