Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.00113, allocations: 113 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.001219/0.001219, allocations: 212.9 kB / 19.4 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, 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.2312/0.2312, allocations: 46.09 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 83.88 kB / 482.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.419, allocations: 62.44 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003549/0.4226, allocations: 1.729 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.4246, allocations: 1.022 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.4247, allocations: 3.938 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.425, allocations: 35.22 kB / 0.5345 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.4254, allocations: 102.3 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.4256, allocations: 75.14 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.4258, allocations: 105.7 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4259, allocations: 6.875 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.426, allocations: 48.27 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.4261, allocations: 33.42 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.4261, allocations: 4.125 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.4262, allocations: 43.47 kB / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.4263, allocations: 26.73 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.4264, allocations: 32 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.4266, allocations: 116.7 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4266, allocations: 3.984 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4266, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4266, allocations: 1.375 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.0005643/0.4272, allocations: 401.8 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4273, allocations: 9.625 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.4273, allocations: 20.8 kB / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.4276, allocations: 219.1 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4276, allocations: 7.109 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.4276, allocations: 9.484 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4278, allocations: 54.05 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4278, allocations: 0 / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4278, allocations: 1.375 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4278, allocations: 1.375 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.4279, allocations: 17.61 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.4283, allocations: 290.8 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.4285, allocations: 53.94 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.4285, allocations: 25.03 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.4286, allocations: 1.375 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.4287, allocations: 69.14 kB / 0.5362 GB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4287, allocations: 0 / 0.5362 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005574/0.4293, allocations: 177 kB / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4294, allocations: 53.62 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.4296, allocations: 181 kB / 0.5366 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4296, allocations: 35.11 kB / 0.5366 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.4297, allocations: 105.2 kB / 0.5367 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.4297, allocations: 27.27 kB / 0.5367 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.4298, allocations: 24.34 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4299, allocations: 326.5 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.43, allocations: 23.08 kB / 0.5371 GB, free: 9.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.4301, allocations: 34.95 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4302, allocations: 59.17 kB / 0.5372 GB, free: 9.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4302, allocations: 0 / 0.5372 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.4304, allocations: 103.5 kB / 0.5373 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4304, allocations: 5.75 kB / 0.5373 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4304, allocations: 4 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4305, allocations: 1.125 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.4306, allocations: 20.95 kB / 0.5373 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4306, allocations: 1.062 kB / 0.5373 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.4306, allocations: 10.12 kB / 0.5373 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4306, allocations: 3.438 kB / 0.5373 GB, free: 8.941 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.0001016/0.4307, allocations: 125.9 kB / 0.5374 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.4308, allocations: 13.44 kB / 0.5374 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.4308, allocations: 21.8 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4308, allocations: 5.219 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4308, allocations: 0 / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4309, allocations: 5.031 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.4313, allocations: 385.1 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4313, allocations: 1.125 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.4314, allocations: 14.78 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4314, allocations: 1.188 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.4314, allocations: 10.23 kB / 0.5379 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4314, allocations: 4.969 kB / 0.5379 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4314, allocations: 0 / 0.5379 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.4317, allocations: 204.2 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.4317, allocations: 88.55 kB / 0.5381 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.4318, allocations: 10 kB / 0.5382 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.4318, allocations: 5.047 kB / 0.5382 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4319, allocations: 3.438 kB / 0.5382 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4319, allocations: 7.5 kB / 0.5382 GB, free: 8.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.432, allocations: 140.2 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.432, allocations: 0 / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.4323, allocations: 25.44 kB / 0.5383 GB, free: 7.98 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.001108/0.4334, allocations: 454.8 kB / 0.5388 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.4336, allocations: 61.62 kB / 0.5388 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4336, allocations: 3.938 kB / 0.5388 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.4337, allocations: 30.02 kB / 0.5389 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4341, allocations: 36.94 kB / 0.5389 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.4346, allocations: 245.4 kB / 0.5391 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.4349, allocations: 0.7055 MB / 0.5398 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.4349, allocations: 15.47 kB / 0.5398 GB, free: 6.754 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4349, allocations: 0 / 0.5398 GB, free: 6.754 MB / 398.1 MB Notification: Performance of Templates: time 0.00407/0.439, allocations: 1.937 MB / 0.5417 GB, free: 5.762 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches