Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.11 MB / 345 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 80.16 kB / 482.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3641, allocations: 62.44 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003805/0.368, allocations: 1.734 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.37, allocations: 1.022 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3702, allocations: 1.062 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.3705, allocations: 41.8 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.371, allocations: 94.95 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.3714, allocations: 78.64 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.3716, allocations: 103.2 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3717, allocations: 9.703 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3719, allocations: 48.72 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.372, allocations: 32.95 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.372, allocations: 4.5 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.3721, allocations: 44 kB / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.3722, allocations: 21.7 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.3723, allocations: 31.72 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.3726, allocations: 125.9 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3726, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3726, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3726, allocations: 3.984 kB / 0.535 GB, free: 11.09 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.0006172/0.3732, allocations: 406.8 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3733, allocations: 8.25 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.3734, allocations: 14.25 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.3737, allocations: 215.1 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3737, allocations: 1.75 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3738, allocations: 14.86 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3739, allocations: 50.05 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3739, allocations: 0 / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.374, allocations: 5.375 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.374, allocations: 0 / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.3741, allocations: 22.98 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.3745, allocations: 285.5 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.3746, allocations: 57.86 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.3747, allocations: 30.41 kB / 0.5361 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3747, allocations: 5.375 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.3749, allocations: 65.14 kB / 0.5362 GB, free: 9.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3749, allocations: 0 / 0.5362 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005609/0.3755, allocations: 176.8 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3755, allocations: 52.78 kB / 0.5364 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3757, allocations: 186.1 kB / 0.5366 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3758, allocations: 26.89 kB / 0.5366 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.3758, allocations: 104.4 kB / 0.5367 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.3759, allocations: 31.89 kB / 0.5367 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.3759, allocations: 24.22 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3761, allocations: 325.9 kB / 0.5371 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.3761, allocations: 18.98 kB / 0.5371 GB, free: 9.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.3762, allocations: 35.58 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3763, allocations: 63.11 kB / 0.5372 GB, free: 9.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3763, allocations: 0 / 0.5372 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002124/0.3766, allocations: 103.5 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3766, allocations: 5.562 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3766, allocations: 1 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3766, allocations: 1.469 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.3767, allocations: 16.23 kB / 0.5373 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3767, allocations: 5.375 kB / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.3768, allocations: 10.12 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.3768, allocations: 2.375 kB / 0.5373 GB, free: 8.938 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.0001045/0.3769, allocations: 126.9 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.3769, allocations: 16.62 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.377, allocations: 14.31 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.377, allocations: 5.016 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.377, allocations: 0 / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.377, allocations: 4.969 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.3775, allocations: 388.9 kB / 0.5378 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3775, allocations: 1.406 kB / 0.5378 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.3776, allocations: 7.656 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3776, allocations: 1.188 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3776, allocations: 9.328 kB / 0.5379 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3776, allocations: 5.25 kB / 0.5379 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3776, allocations: 3.938 kB / 0.5379 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.3779, allocations: 208.6 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.3779, allocations: 88.36 kB / 0.5382 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.378, allocations: 4.875 kB / 0.5382 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.378, allocations: 6.391 kB / 0.5382 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.3781, allocations: 7.438 kB / 0.5382 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3781, allocations: 3.469 kB / 0.5382 GB, free: 8.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3783, allocations: 140 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3783, allocations: 0 / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.3785, allocations: 28.34 kB / 0.5383 GB, free: 7.977 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.001154/0.3797, allocations: 455.2 kB / 0.5388 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.3799, allocations: 66.09 kB / 0.5388 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3799, allocations: 3.938 kB / 0.5388 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.38, allocations: 34.42 kB / 0.5389 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3804, allocations: 23.39 kB / 0.5389 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.381, allocations: 249.8 kB / 0.5391 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3813, allocations: 0.7048 MB / 0.5398 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.3813, allocations: 15.16 kB / 0.5398 GB, free: 6.758 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3814, allocations: 0 / 0.5398 GB, free: 6.758 MB / 398.1 MB Notification: Performance of Templates: time 0.004762/0.3861, allocations: 1.94 MB / 0.5417 GB, free: 5.758 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches