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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 195.8 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009133/0.000913, allocations: 86.36 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2477/0.2477, allocations: 45.14 MB / 383.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.957e-05, allocations: 0 / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 63.24 MB / 0.5038 GB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.483, allocations: 90.31 MB / 0.592 GB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.4832, allocations: 65.22 kB / 0.592 GB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03934/0.5225, allocations: 15.01 MB / 0.6067 GB, free: 296 kB / 394.7 MB Notification: Performance of Transformations before backend: time 7.773e-05/0.5226, allocations: 24 kB / 0.6067 GB, free: 272 kB / 394.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.001716/0.5244, allocations: 1.053 MB / 0.6077 GB, free: 15.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5244, allocations: 12.03 kB / 0.6077 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.5246, allocations: 115.7 kB / 0.6079 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.5257, allocations: 0.6303 MB / 0.6085 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5257, allocations: 20 kB / 0.6085 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.411e-05/0.5258, allocations: 36 kB / 0.6085 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007075/0.5265, allocations: 397.8 kB / 0.6089 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009021/0.5274, allocations: 0.5829 MB / 0.6095 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.5275, allocations: 0 / 0.6095 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.5275, allocations: 7.938 kB / 0.6095 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.5275, allocations: 16 kB / 0.6095 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/0.5309, allocations: 2.662 MB / 0.6121 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009148/0.5318, allocations: 0.5157 MB / 0.6126 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.5322, allocations: 212.9 kB / 0.6128 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.5322, allocations: 4 kB / 0.6128 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5323, allocations: 49.19 kB / 0.6129 GB, free: 10.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 4.188e-06/0.5323, allocations: 3.984 kB / 0.6129 GB, free: 10.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008769/0.5332, allocations: 454.9 kB / 0.6133 GB, free: 10.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.5333, allocations: 244.5 kB / 0.6135 GB, free: 10.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.534, allocations: 0.5058 MB / 0.614 GB, free: 9.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.534, allocations: 25.7 kB / 0.614 GB, free: 9.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.5342, allocations: 295.1 kB / 0.6143 GB, free: 9.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.5344, allocations: 177.2 kB / 0.6145 GB, free: 9.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.5344, allocations: 4 kB / 0.6145 GB, free: 9.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5345, allocations: 328 kB / 0.6148 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.5348, allocations: 148.3 kB / 0.615 GB, free: 8.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.5351, allocations: 284.7 kB / 0.6152 GB, free: 8.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.5354, allocations: 187.8 kB / 0.6154 GB, free: 8.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5354, allocations: 0 / 0.6154 GB, free: 8.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001984/0.5374, allocations: 0.8567 MB / 0.6162 GB, free: 7.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004853/0.5379, allocations: 1.137 MB / 0.6173 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5379, allocations: 7.984 kB / 0.6174 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009462/0.5389, allocations: 251.8 kB / 0.6176 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.5395, allocations: 135.5 kB / 0.6177 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/0.5433, allocations: 3.653 MB / 0.6213 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/0.5439, allocations: 83.55 kB / 0.6214 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.5439, allocations: 19.88 kB / 0.6214 GB, free: 2.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.544, allocations: 4 kB / 0.6214 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/0.5451, allocations: 0.5109 MB / 0.6219 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5451, allocations: 7.938 kB / 0.6219 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.5455, allocations: 116.7 kB / 0.622 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.5463, allocations: 187.7 kB / 0.6222 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.5493, allocations: 3.02 MB / 0.6251 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.5498, allocations: 59.58 kB / 0.6252 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.5499, allocations: 22.06 kB / 0.6252 GB, free: 14.92 MB / 426.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 () * 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.0001868/0.5501, allocations: 120.8 kB / 0.6253 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.5503, allocations: 86.97 kB / 0.6254 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.5506, allocations: 86.66 kB / 0.6255 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5506, allocations: 8 kB / 0.6255 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5506, allocations: 3.906 kB / 0.6255 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5506, allocations: 4 kB / 0.6255 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.5516, allocations: 0.641 MB / 0.6261 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5516, allocations: 4.188 kB / 0.6261 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.5523, allocations: 130.9 kB / 0.6263 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5523, allocations: 4 kB / 0.6263 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.5523, allocations: 7.25 kB / 0.6263 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5523, allocations: 4 kB / 0.6263 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5524, allocations: 0 / 0.6263 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001171/0.5535, allocations: 1.045 MB / 0.6273 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.5538, allocations: 208 kB / 0.6275 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.5539, allocations: 3.938 kB / 0.6275 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.5545, allocations: 55.95 kB / 0.6276 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.5546, allocations: 35.28 kB / 0.6276 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.5546, allocations: 15.25 kB / 0.6276 GB, free: 12.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000453/0.5551, allocations: 398.4 kB / 0.628 GB, free: 12.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009682/0.556, allocations: 246.9 kB / 0.6282 GB, free: 12.33 MB / 426.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 () * 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.0001704/0.5562, allocations: 107.2 kB / 0.6283 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.5594, allocations: 1.438 MB / 0.6297 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5595, allocations: 0 / 0.6297 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.5598, allocations: 217.3 kB / 0.6299 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.5608, allocations: 191 kB / 0.6301 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.5635, allocations: 1.114 MB / 0.6312 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009138/0.5644, allocations: 1.051 MB / 0.6322 GB, free: 8.582 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5644, allocations: 0 / 0.6322 GB, free: 8.582 MB / 426.7 MB Notification: Performance of Templates: time 0.02337/0.5878, allocations: 12.2 MB / 0.6441 GB, free: 12.46 MB / 442.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