Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000793/0.0007931, allocations: 89.84 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2722/0.2722, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002374, allocations: 8 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2781, allocations: 63.26 MB / 0.5192 GB, free: 43.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.3788, allocations: 91.13 MB / 0.6082 GB, free: 14.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.379, allocations: 67.97 kB / 0.6082 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03893/0.418, allocations: 15.43 MB / 0.6233 GB, free: 14.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.418, allocations: 0 / 0.6233 GB, free: 14.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.828e-05/0.4181, allocations: 31.94 kB / 0.6233 GB, free: 14.96 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002069/0.4202, allocations: 1.179 MB / 0.6245 GB, free: 13.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4202, allocations: 8.031 kB / 0.6245 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.4205, allocations: 114.6 kB / 0.6246 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4215, allocations: 0.6171 MB / 0.6252 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.4216, allocations: 57.25 kB / 0.6253 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.4217, allocations: 67.95 kB / 0.6253 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.423, allocations: 0.7485 MB / 0.6261 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.4231, allocations: 7.938 kB / 0.6261 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.4231, allocations: 24 kB / 0.6261 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.4232, allocations: 16 kB / 0.6261 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.4245, allocations: 0.5907 MB / 0.6267 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.4281, allocations: 2.779 MB / 0.6294 GB, free: 8.508 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.4296, allocations: 0.7313 MB / 0.6301 GB, free: 7.742 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.4297, allocations: 12.98 kB / 0.6301 GB, free: 7.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4297, allocations: 42.55 kB / 0.6302 GB, free: 7.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 2.475e-06/0.4297, allocations: 0 / 0.6302 GB, free: 7.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.001764/0.4315, allocations: 0.8728 MB / 0.631 GB, free: 6.805 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4316, allocations: 239.3 kB / 0.6312 GB, free: 6.516 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.4323, allocations: 0.61 MB / 0.6318 GB, free: 5.898 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.4323, allocations: 37.7 kB / 0.6319 GB, free: 5.855 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.4326, allocations: 424.5 kB / 0.6323 GB, free: 5.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4328, allocations: 193.3 kB / 0.6325 GB, free: 5.242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.4328, allocations: 11.94 kB / 0.6325 GB, free: 5.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.4329, allocations: 326 kB / 0.6328 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.4334, allocations: 241 kB / 0.633 GB, free: 4.672 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.434, allocations: 390 kB / 0.6334 GB, free: 4.238 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.4345, allocations: 271.8 kB / 0.6336 GB, free: 3.977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4345, allocations: 0 / 0.6336 GB, free: 3.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002414/0.437, allocations: 1.104 MB / 0.6347 GB, free: 2.855 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003627/0.4373, allocations: 1.138 MB / 0.6358 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4373, allocations: 4 kB / 0.6358 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.4386, allocations: 371.1 kB / 0.6362 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005418/0.4391, allocations: 131.8 kB / 0.6363 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.4431, allocations: 3.84 MB / 0.6401 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.4436, allocations: 95.48 kB / 0.6402 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.4437, allocations: 20 kB / 0.6402 GB, free: 12.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.4437, allocations: 4 kB / 0.6402 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/0.4451, allocations: 0.6724 MB / 0.6408 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4451, allocations: 4 kB / 0.6408 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.4456, allocations: 141.7 kB / 0.641 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.4463, allocations: 183.8 kB / 0.6411 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.4494, allocations: 3.308 MB / 0.6444 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.4499, allocations: 71.41 kB / 0.6444 GB, free: 8.297 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.4499, allocations: 23.98 kB / 0.6445 GB, free: 8.273 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004143/0.4504, allocations: 289.1 kB / 0.6447 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.4506, allocations: 90.88 kB / 0.6448 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.4508, allocations: 95.16 kB / 0.6449 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4508, allocations: 8 kB / 0.6449 GB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4508, allocations: 0 / 0.6449 GB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.4508, allocations: 7.938 kB / 0.6449 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.4518, allocations: 0.7315 MB / 0.6456 GB, free: 7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4518, allocations: 0 / 0.6456 GB, free: 7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.4524, allocations: 131.9 kB / 0.6458 GB, free: 6.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4524, allocations: 0 / 0.6458 GB, free: 6.871 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.4525, allocations: 12 kB / 0.6458 GB, free: 6.859 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4525, allocations: 4 kB / 0.6458 GB, free: 6.855 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.4525, allocations: 3.938 kB / 0.6458 GB, free: 6.852 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.4543, allocations: 1.312 MB / 0.6471 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.4545, allocations: 219.8 kB / 0.6473 GB, free: 5.262 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.4546, allocations: 15.95 kB / 0.6473 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.4551, allocations: 55.89 kB / 0.6474 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.4552, allocations: 35.95 kB / 0.6474 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.4552, allocations: 12 kB / 0.6474 GB, free: 5.145 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005247/0.4558, allocations: 487 kB / 0.6479 GB, free: 4.676 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4558, allocations: 3.938 kB / 0.6479 GB, free: 4.672 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008697/0.4567, allocations: 267.1 kB / 0.6481 GB, free: 4.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.4568, allocations: 111.7 kB / 0.6482 GB, free: 4.289 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003608/0.4604, allocations: 1.681 MB / 0.6499 GB, free: 2.578 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4605, allocations: 0 / 0.6499 GB, free: 2.578 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005627/0.461, allocations: 307.6 kB / 0.6502 GB, free: 2.277 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.462, allocations: 204.7 kB / 0.6504 GB, free: 2.082 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.4645, allocations: 1.755 MB / 0.6521 GB, free: 292 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.465, allocations: 0.9994 MB / 0.653 GB, free: 15.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003625/0.4654, allocations: 89.09 kB / 0.6531 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.4656, allocations: 47.44 kB / 0.6532 GB, free: 15.13 MB / 474.7 MB Notification: Performance of SimCode: time 5e-07/0.4656, allocations: 0 / 0.6532 GB, free: 15.13 MB / 474.7 MB Notification: Performance of Templates: time 0.01692/0.4825, allocations: 10.33 MB / 0.6633 GB, free: 4.895 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches