Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 118.2 kB / 17.79 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.001608/0.001609, allocations: 198 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.519/1.519, 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.2459/0.2459, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 79.86 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4191, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003777/0.4229, allocations: 1.741 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.425, allocations: 1.021 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.4252, allocations: 5.312 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.4258, allocations: 46.89 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006496/0.4265, allocations: 97.83 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.4269, allocations: 78.92 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.4272, allocations: 102.3 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4273, allocations: 14.88 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.4275, allocations: 48.27 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.4276, allocations: 29.42 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.4276, allocations: 4.125 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.4278, allocations: 43.42 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.4279, allocations: 25.53 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.428, allocations: 43.92 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.4283, allocations: 122.2 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4283, allocations: 4 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.4283, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.4283, allocations: 3.938 kB / 0.5344 GB, free: 11.04 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.0007402/0.429, allocations: 435 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.4291, allocations: 9.625 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.4292, allocations: 14.03 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.4296, allocations: 220.4 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4296, allocations: 1.969 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.4296, allocations: 13.47 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.4298, allocations: 49.98 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4299, allocations: 4 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4299, allocations: 4.875 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4299, allocations: 4.984 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.43, allocations: 18.77 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.4305, allocations: 293.5 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.4307, allocations: 61.39 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.4308, allocations: 22.19 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.4308, allocations: 0 / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.431, allocations: 69.95 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.431, allocations: 0 / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006767/0.4317, allocations: 191 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.4318, allocations: 52.47 kB / 0.5358 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.432, allocations: 233 kB / 0.536 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4321, allocations: 34.77 kB / 0.5361 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.4322, allocations: 105.7 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.4322, allocations: 20.31 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.4323, allocations: 24.52 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4324, allocations: 330.2 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.4325, allocations: 27.39 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.4326, allocations: 35.92 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.4327, allocations: 55.25 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4327, allocations: 0 / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002173/0.4329, allocations: 104.5 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4329, allocations: 4.688 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.433, allocations: 9.625 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.433, allocations: 1.156 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4331, allocations: 20.7 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4331, allocations: 1.219 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.4332, allocations: 9.5 kB / 0.5368 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4332, allocations: 3.25 kB / 0.5368 GB, free: 8.824 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.0001262/0.4333, allocations: 130.3 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.4334, allocations: 9.438 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.4334, allocations: 20.16 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4334, allocations: 4.984 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4334, allocations: 1.156 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4334, allocations: 3.938 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.4339, allocations: 401.9 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.434, allocations: 192 / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.434, allocations: 12.23 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.434, allocations: 3.938 kB / 0.5373 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.4341, allocations: 6.062 kB / 0.5373 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.4341, allocations: 9.031 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4341, allocations: 1.094 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.4343, allocations: 201 kB / 0.5375 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.4344, allocations: 89.02 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.4344, allocations: 9.234 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.4345, allocations: 10.44 kB / 0.5377 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.4346, allocations: 7.375 kB / 0.5377 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.4346, allocations: 7.453 kB / 0.5377 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.4348, allocations: 172.9 kB / 0.5378 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4348, allocations: 1.594 kB / 0.5378 GB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.4351, allocations: 27.92 kB / 0.5379 GB, free: 7.84 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.00115/0.4362, allocations: 462 kB / 0.5383 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4365, allocations: 53.86 kB / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4365, allocations: 0 / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.4366, allocations: 30.17 kB / 0.5384 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.437, allocations: 42.95 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.4376, allocations: 262.9 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.4379, allocations: 0.7087 MB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.345e-05/0.438, allocations: 18.2 kB / 0.5394 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.4381, allocations: 23.41 kB / 0.5394 GB, free: 6.617 MB / 398.1 MB Notification: Performance of SimCode: time 2.935e-06/0.4381, allocations: 5.125 kB / 0.5394 GB, free: 6.613 MB / 398.1 MB Notification: Performance of Templates: time 0.005807/0.4439, allocations: 1.749 MB / 0.5411 GB, free: 5.73 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches