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/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.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/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1911/0.1911, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 84.42 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09188, allocations: 62.43 MB / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004473/0.09639, allocations: 3.548 MB / 485 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.09888, allocations: 1.469 MB / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.0993, allocations: 27.81 kB / 486.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.0996, allocations: 118.7 kB / 486.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.1001, allocations: 154.6 kB / 486.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1013, allocations: 0.6267 MB / 487.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009302/0.1023, allocations: 0.9445 MB / 488.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.1027, allocations: 292.6 kB / 488.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.1031, allocations: 382.3 kB / 489 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.1034, allocations: 354.1 kB / 489.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.933e-05/0.1035, allocations: 76 kB / 489.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1036, allocations: 76 kB / 489.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1038, allocations: 179.3 kB / 489.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.104, allocations: 365.7 kB / 490 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.1047, allocations: 0.8327 MB / 490.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1047, allocations: 0 / 490.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1047, allocations: 0 / 490.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1047, allocations: 4 kB / 490.8 MB, free: 11.12 MB / 366.1 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.001906/0.1066, allocations: 1.199 MB / 492 MB, free: 9.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1067, allocations: 12.03 kB / 492.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.1072, allocations: 139.8 kB / 492.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.108, allocations: 0.6089 MB / 492.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.108, allocations: 45.38 kB / 492.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.668e-05/0.1081, allocations: 52.38 kB / 492.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.1094, allocations: 0.717 MB / 493.6 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1094, allocations: 3.938 kB / 493.6 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.1094, allocations: 24 kB / 493.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1095, allocations: 12 kB / 493.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1107, allocations: 0.5581 MB / 494.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.1135, allocations: 2.282 MB / 496.5 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.1151, allocations: 0.7106 MB / 497.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.1158, allocations: 322.2 kB / 497.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.1158, allocations: 12.44 kB / 497.5 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1159, allocations: 50.92 kB / 497.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 1.553e-06/0.1159, allocations: 0 / 497.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.003998/0.1199, allocations: 1.926 MB / 499.5 MB, free: 2.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.12, allocations: 235.8 kB / 499.7 MB, free: 1.824 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.1206, allocations: 0.5748 MB / 0.4886 GB, free: 1.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.1206, allocations: 41.64 kB / 0.4886 GB, free: 1.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.1208, allocations: 356.8 kB / 0.489 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.121, allocations: 181.3 kB / 0.4891 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.1212, allocations: 110.2 kB / 0.4892 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.1213, allocations: 330 kB / 0.4896 GB, free: 224 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/0.122, allocations: 302.8 kB / 0.4898 GB, free: 15.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/0.1228, allocations: 427.7 kB / 0.4903 GB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.1242, allocations: 0.6551 MB / 0.4909 GB, free: 14.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1242, allocations: 0 / 0.4909 GB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001682/0.1259, allocations: 0.8023 MB / 0.4917 GB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1259, allocations: 4 kB / 0.4917 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.126, allocations: 4 kB / 0.4917 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.126, allocations: 7.938 kB / 0.4917 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.1268, allocations: 196 kB / 0.4919 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1268, allocations: 4 kB / 0.4919 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.1273, allocations: 75.91 kB / 0.492 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.1273, allocations: 27.98 kB / 0.492 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006374/0.128, allocations: 361.1 kB / 0.4923 GB, free: 13.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005831/0.1285, allocations: 361.4 kB / 0.4927 GB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001035/0.1296, allocations: 0.5436 MB / 0.4932 GB, free: 12.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.1296, allocations: 4 kB / 0.4932 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001254/0.1309, allocations: 0.6475 MB / 0.4938 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1309, allocations: 12 kB / 0.4938 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.1309, allocations: 0 / 0.4938 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.1309, allocations: 8 kB / 0.4939 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.1315, allocations: 167.8 kB / 0.494 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1316, allocations: 7.938 kB / 0.494 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.132, allocations: 63.94 kB / 0.4941 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.132, allocations: 20 kB / 0.4941 GB, free: 11.36 MB / 382.1 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 (66): * Single equations (assignments): 66 * 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.0001517/0.1322, allocations: 212.1 kB / 0.4943 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.1323, allocations: 75.06 kB / 0.4944 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.1325, allocations: 87.42 kB / 0.4945 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.1325, allocations: 15.94 kB / 0.4945 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1325, allocations: 0 / 0.4945 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1325, allocations: 3.984 kB / 0.4945 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.135, allocations: 1.453 MB / 0.4959 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.135, allocations: 0 / 0.4959 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.1357, allocations: 155.8 kB / 0.496 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1357, allocations: 7.984 kB / 0.4961 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.1357, allocations: 15.98 kB / 0.4961 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1357, allocations: 0 / 0.4961 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1357, allocations: 4 kB / 0.4961 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.1381, allocations: 1.257 MB / 0.4973 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.1384, allocations: 184.2 kB / 0.4975 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.1385, allocations: 16.12 kB / 0.4975 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.139, allocations: 79.91 kB / 0.4976 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/0.1391, allocations: 47.81 kB / 0.4976 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.1392, allocations: 19.98 kB / 0.4976 GB, free: 7.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003992/0.1396, allocations: 403.1 kB / 0.498 GB, free: 7.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1396, allocations: 0 / 0.498 GB, free: 7.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000593/0.1402, allocations: 180 kB / 0.4982 GB, free: 7.062 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,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 (50): * Single equations (assignments): 50 * 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 Backend phase and start with SimCode phase: time 0.0001143/0.1403, allocations: 111.2 kB / 0.4983 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.1425, allocations: 0.9813 MB / 0.4993 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1425, allocations: 0 / 0.4993 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.1433, allocations: 352.2 kB / 0.4996 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/0.1442, allocations: 203 kB / 0.4998 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.1462, allocations: 1.322 MB / 0.5011 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.1467, allocations: 0.9219 MB / 0.502 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003396/0.147, allocations: 100.8 kB / 0.5021 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1472, allocations: 55.42 kB / 0.5021 GB, free: 2.965 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1472, allocations: 4 kB / 0.5021 GB, free: 2.961 MB / 382.1 MB Notification: Performance of Templates: time 0.1591/0.3063, allocations: 8.654 MB / 0.5106 GB, free: 39.82 MB / 382.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches