Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 204.7 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009231/0.000923, allocations: 96.53 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3806/0.3806, allocations: 44.82 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003027, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4037, allocations: 62.95 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.5328, allocations: 92.68 MB / 0.6089 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.5331, allocations: 75.95 kB / 0.609 GB, free: 12.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04373/0.5768, allocations: 15.71 MB / 0.6243 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5769, allocations: 0 / 0.6243 GB, free: 12.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.832e-05/0.577, allocations: 35.86 kB / 0.6244 GB, free: 12.79 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002534/0.5795, allocations: 1.141 MB / 0.6255 GB, free: 11.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5796, allocations: 12.03 kB / 0.6255 GB, free: 11.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006274/0.5802, allocations: 151.8 kB / 0.6256 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.5815, allocations: 0.6297 MB / 0.6262 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.5816, allocations: 37.38 kB / 0.6263 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5817, allocations: 56.28 kB / 0.6263 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.5832, allocations: 0.7389 MB / 0.6271 GB, free: 9.883 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.5832, allocations: 3.938 kB / 0.6271 GB, free: 9.879 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.5833, allocations: 24 kB / 0.6271 GB, free: 9.855 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.5833, allocations: 15.98 kB / 0.6271 GB, free: 9.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.5848, allocations: 0.5972 MB / 0.6277 GB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.5883, allocations: 2.289 MB / 0.6299 GB, free: 6.871 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.5909, allocations: 1.049 MB / 0.6309 GB, free: 5.785 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008163/0.5917, allocations: 353.5 kB / 0.6313 GB, free: 5.434 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.5918, allocations: 12.06 kB / 0.6313 GB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.5919, allocations: 42.5 kB / 0.6313 GB, free: 5.371 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 2.535e-06/0.5919, allocations: 0 / 0.6313 GB, free: 5.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002673/0.5945, allocations: 1.031 MB / 0.6323 GB, free: 4.332 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.5946, allocations: 140.5 kB / 0.6325 GB, free: 4.164 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.5954, allocations: 0.559 MB / 0.633 GB, free: 3.594 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.5955, allocations: 37.7 kB / 0.6331 GB, free: 3.551 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.5958, allocations: 352.8 kB / 0.6334 GB, free: 3.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.5959, allocations: 169.5 kB / 0.6336 GB, free: 3.031 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.5959, allocations: 8 kB / 0.6336 GB, free: 3.023 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.5961, allocations: 378.8 kB / 0.6339 GB, free: 2.645 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/0.597, allocations: 316.9 kB / 0.6342 GB, free: 2.336 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/0.5978, allocations: 420.1 kB / 0.6346 GB, free: 1.887 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.5994, allocations: 0.6949 MB / 0.6353 GB, free: 1.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.5994, allocations: 4 kB / 0.6353 GB, free: 1.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001928/0.6014, allocations: 0.823 MB / 0.6361 GB, free: 332 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.6015, allocations: 154.7 kB / 0.6363 GB, free: 144 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6015, allocations: 4 kB / 0.6363 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6016, allocations: 8 kB / 0.6363 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/0.6025, allocations: 207.7 kB / 0.6365 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.6025, allocations: 7.984 kB / 0.6365 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.6031, allocations: 115.5 kB / 0.6366 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.6032, allocations: 24 kB / 0.6366 GB, free: 15.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6032, allocations: 7.984 kB / 0.6366 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/0.6045, allocations: 0.5918 MB / 0.6372 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6045, allocations: 7.984 kB / 0.6372 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.6045, allocations: 4 kB / 0.6372 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/0.6053, allocations: 179.9 kB / 0.6374 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6053, allocations: 4 kB / 0.6374 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.6058, allocations: 99.47 kB / 0.6375 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.6058, allocations: 16 kB / 0.6375 GB, free: 14.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.0004131/0.6063, allocations: 264.9 kB / 0.6377 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.6064, allocations: 71.16 kB / 0.6378 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.6066, allocations: 86.89 kB / 0.6379 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.6066, allocations: 4 kB / 0.6379 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.6067, allocations: 4 kB / 0.6379 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6067, allocations: 0 / 0.6379 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.6093, allocations: 1.414 MB / 0.6393 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.6094, allocations: 0 / 0.6393 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/0.61, allocations: 151.8 kB / 0.6394 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.61, allocations: 4.281 kB / 0.6394 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.6101, allocations: 19.98 kB / 0.6395 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/0.6101, allocations: 4 kB / 0.6395 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6101, allocations: 0 / 0.6395 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.6128, allocations: 1.303 MB / 0.6407 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.613, allocations: 188 kB / 0.6409 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.181e-05/0.6131, allocations: 12 kB / 0.6409 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005397/0.6137, allocations: 99.86 kB / 0.641 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.6138, allocations: 43.92 kB / 0.6411 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.6139, allocations: 12 kB / 0.6411 GB, free: 11.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004964/0.6144, allocations: 391.1 kB / 0.6414 GB, free: 10.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6144, allocations: 0 / 0.6414 GB, free: 10.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007514/0.6151, allocations: 231.2 kB / 0.6417 GB, free: 10.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (46): * Single equations (assignments): 46 * 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.0001799/0.6153, allocations: 115.1 kB / 0.6418 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.6178, allocations: 1.037 MB / 0.6428 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6179, allocations: 3.938 kB / 0.6428 GB, free: 9.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.6187, allocations: 379.6 kB / 0.6431 GB, free: 8.969 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.6198, allocations: 172.9 kB / 0.6433 GB, free: 8.805 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.6231, allocations: 1.717 MB / 0.645 GB, free: 7.055 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.6237, allocations: 0.9183 MB / 0.6459 GB, free: 6.105 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004925/0.6242, allocations: 97.16 kB / 0.646 GB, free: 6.008 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.6243, allocations: 51.42 kB / 0.646 GB, free: 5.957 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6244, allocations: 0 / 0.646 GB, free: 5.957 MB / 458.7 MB Notification: Performance of Templates: time 0.01529/0.6397, allocations: 7.338 MB / 0.6532 GB, free: 14.68 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches