Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, 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.2313/0.2313, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 75.88 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.5001, allocations: 62.44 MB / 0.5311 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004159/0.5043, allocations: 1.727 MB / 0.5328 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.5065, allocations: 1.026 MB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.5067, allocations: 0 / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.5072, allocations: 42.77 kB / 0.5338 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.5077, allocations: 91.05 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.5081, allocations: 84.28 kB / 0.534 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.5085, allocations: 101 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.5086, allocations: 14.86 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.5087, allocations: 42.91 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.5089, allocations: 30.8 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.5089, allocations: 4.125 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.5091, allocations: 43.16 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.5092, allocations: 18.58 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.5093, allocations: 39.8 kB / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.5096, allocations: 126.8 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.5096, allocations: 1.062 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5096, allocations: 0 / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.5097, allocations: 0 / 0.5344 GB, free: 11.25 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.0008255/0.5105, allocations: 429 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.5106, allocations: 9.719 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.5107, allocations: 9.359 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.5111, allocations: 217.2 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.5111, allocations: 5.781 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.5112, allocations: 10.88 kB / 0.535 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.5114, allocations: 57.73 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5114, allocations: 3.984 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.5115, allocations: 0.9688 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5115, allocations: 0.7812 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.5116, allocations: 18.2 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.5122, allocations: 284.1 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.5124, allocations: 65.39 kB / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.5125, allocations: 21.78 kB / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.5125, allocations: 0 / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.5127, allocations: 66.05 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.5128, allocations: 0 / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008183/0.5136, allocations: 186 kB / 0.5357 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.5137, allocations: 52.5 kB / 0.5358 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.514, allocations: 197.3 kB / 0.5359 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.514, allocations: 26.8 kB / 0.536 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.5141, allocations: 104.4 kB / 0.5361 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.5142, allocations: 19.89 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.5143, allocations: 28.8 kB / 0.5361 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.5145, allocations: 330.7 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.5146, allocations: 19.03 kB / 0.5364 GB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.5147, allocations: 38.92 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.5148, allocations: 59.05 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5148, allocations: 0 / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002743/0.5151, allocations: 104.3 kB / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5151, allocations: 12.83 kB / 0.5366 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5152, allocations: 1.438 kB / 0.5366 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.5152, allocations: 1.344 kB / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.5153, allocations: 11.88 kB / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5153, allocations: 5.188 kB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.5154, allocations: 6.625 kB / 0.5367 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.5154, allocations: 10.95 kB / 0.5367 GB, free: 9.074 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.000149/0.5156, allocations: 123.3 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.5156, allocations: 17.28 kB / 0.5368 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.5157, allocations: 22.23 kB / 0.5368 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.5157, allocations: 1.438 kB / 0.5368 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.5157, allocations: 0 / 0.5368 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5157, allocations: 3.938 kB / 0.5368 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.5163, allocations: 390.7 kB / 0.5372 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5164, allocations: 1.156 kB / 0.5372 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.5164, allocations: 11.48 kB / 0.5372 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5164, allocations: 1.5 kB / 0.5372 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.5164, allocations: 13.59 kB / 0.5372 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5165, allocations: 0 / 0.5372 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5165, allocations: 1.5 kB / 0.5372 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.5168, allocations: 200.6 kB / 0.5374 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.5169, allocations: 92.33 kB / 0.5375 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.5169, allocations: 8.891 kB / 0.5375 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.517, allocations: 6.25 kB / 0.5375 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.517, allocations: 4.219 kB / 0.5375 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.5171, allocations: 7.203 kB / 0.5375 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.5172, allocations: 148.5 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5172, allocations: 0 / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.5175, allocations: 28.45 kB / 0.5377 GB, free: 8.109 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.001236/0.5188, allocations: 469.4 kB / 0.5382 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.519, allocations: 59.09 kB / 0.5382 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.519, allocations: 0 / 0.5382 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.5191, allocations: 29.06 kB / 0.5383 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.5194, allocations: 38.97 kB / 0.5383 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.52, allocations: 224.2 kB / 0.5385 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.5203, allocations: 0.7058 MB / 0.5392 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.5204, allocations: 14.75 kB / 0.5392 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.5204, allocations: 23.92 kB / 0.5392 GB, free: 6.898 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5204, allocations: 4 kB / 0.5392 GB, free: 6.895 MB / 398.1 MB Notification: Performance of Templates: time 0.005562/0.526, allocations: 1.734 MB / 0.5409 GB, free: 6.02 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches