Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 115.5 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 214.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.12 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 79.88 kB / 482.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3555, allocations: 62.45 MB / 0.5318 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004115/0.3596, allocations: 1.733 MB / 0.5335 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.3621, allocations: 1.027 MB / 0.5345 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.3622, allocations: 1.375 kB / 0.5345 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3625, allocations: 41.39 kB / 0.5346 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.3629, allocations: 89.75 kB / 0.5346 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3631, allocations: 78.91 kB / 0.5347 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3633, allocations: 106.3 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.3634, allocations: 4.125 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3636, allocations: 52.2 kB / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.3636, allocations: 33.42 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3637, allocations: 4.125 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3638, allocations: 44.84 kB / 0.5349 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.3638, allocations: 17.42 kB / 0.535 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.3639, allocations: 26.69 kB / 0.535 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.3642, allocations: 116.9 kB / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3642, allocations: 0 / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3642, allocations: 0 / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3642, allocations: 3.938 kB / 0.5351 GB, free: 11.26 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006964/0.3649, allocations: 419.7 kB / 0.5355 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3649, allocations: 9 kB / 0.5355 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.365, allocations: 13.83 kB / 0.5355 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.3654, allocations: 210.2 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3654, allocations: 2.844 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3654, allocations: 9.438 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3656, allocations: 54.3 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3656, allocations: 0 / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3656, allocations: 1.094 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3656, allocations: 5.25 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.3657, allocations: 18.89 kB / 0.5358 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.3662, allocations: 284.4 kB / 0.5361 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.3664, allocations: 59.8 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.3665, allocations: 24.44 kB / 0.5362 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.3665, allocations: 1.469 kB / 0.5362 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.3667, allocations: 65.64 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3667, allocations: 0 / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007024/0.3674, allocations: 177 kB / 0.5364 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3675, allocations: 53.72 kB / 0.5364 GB, free: 9.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.3677, allocations: 168.4 kB / 0.5366 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3678, allocations: 26.8 kB / 0.5366 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.3679, allocations: 100.7 kB / 0.5367 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.3679, allocations: 27.16 kB / 0.5368 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.368, allocations: 28.48 kB / 0.5368 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.3682, allocations: 330.3 kB / 0.5371 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.3683, allocations: 18.19 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3684, allocations: 40.05 kB / 0.5372 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3686, allocations: 62.86 kB / 0.5372 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3686, allocations: 0 / 0.5372 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002849/0.3688, allocations: 104.1 kB / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3689, allocations: 9.438 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3689, allocations: 0 / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3689, allocations: 5.328 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.369, allocations: 12.72 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.369, allocations: 1.188 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.3691, allocations: 6.031 kB / 0.5373 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3691, allocations: 3.281 kB / 0.5373 GB, free: 9.117 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 (10): * Single equations (assignments): 10 * 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.0001483/0.3692, allocations: 124.5 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.3693, allocations: 9.547 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.3693, allocations: 20.11 kB / 0.5375 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3693, allocations: 9.266 kB / 0.5375 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3693, allocations: 5.125 kB / 0.5375 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.3693, allocations: 3.938 kB / 0.5375 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.37, allocations: 388.1 kB / 0.5379 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.37, allocations: 1.031 kB / 0.5379 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.37, allocations: 11.19 kB / 0.5379 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.37, allocations: 1.344 kB / 0.5379 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.37, allocations: 14.14 kB / 0.5379 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.37, allocations: 0 / 0.5379 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.37, allocations: 0.9062 kB / 0.5379 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.3703, allocations: 200.7 kB / 0.5381 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.3704, allocations: 87.48 kB / 0.5382 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.3704, allocations: 6.062 kB / 0.5382 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3706, allocations: 6.156 kB / 0.5382 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.3706, allocations: 15.52 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3706, allocations: 4 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.3708, allocations: 123.8 kB / 0.5383 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3708, allocations: 1.344 kB / 0.5383 GB, free: 8.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004111/0.3712, allocations: 32.98 kB / 0.5384 GB, free: 8.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002233/0.3734, allocations: 463.6 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.3737, allocations: 56 kB / 0.5389 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3737, allocations: 1 kB / 0.5389 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.361e-05/0.3738, allocations: 19.25 kB / 0.5389 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.3742, allocations: 36.53 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.3748, allocations: 207.9 kB / 0.5391 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.3752, allocations: 0.7008 MB / 0.5398 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.3752, allocations: 18.2 kB / 0.5398 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.3753, allocations: 15.81 kB / 0.5398 GB, free: 6.973 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3753, allocations: 4 kB / 0.5398 GB, free: 6.969 MB / 398.1 MB Notification: Performance of Templates: time 0.005069/0.3803, allocations: 1.735 MB / 0.5415 GB, free: 6.09 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches