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.001716/0.001716, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 79.09 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 62.44 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004355/0.1098, allocations: 3.552 MB / 483.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1122, allocations: 1.457 MB / 484.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.1125, allocations: 23.88 kB / 485 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1128, allocations: 83.17 kB / 485 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.1132, allocations: 115.1 kB / 485.2 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1143, allocations: 0.5847 MB / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007844/0.1151, allocations: 0.8703 MB / 486.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1155, allocations: 288.8 kB / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.1159, allocations: 330.3 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.1162, allocations: 346 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.347e-05/0.1163, allocations: 36 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1164, allocations: 40 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1165, allocations: 135.4 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.1168, allocations: 333.7 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.1173, allocations: 0.5808 MB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1173, allocations: 4 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1173, allocations: 0 / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1173, allocations: 0 / 488.7 MB, free: 12.95 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.002114/0.1194, allocations: 1.207 MB / 489.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1195, allocations: 8.875 kB / 489.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/0.12, allocations: 135.8 kB / 490 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.1207, allocations: 0.57 MB / 490.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.1207, allocations: 37.38 kB / 490.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.1208, allocations: 52.36 kB / 490.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.1222, allocations: 0.7169 MB / 491.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1222, allocations: 0 / 491.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.1223, allocations: 23.94 kB / 491.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1223, allocations: 19.98 kB / 491.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.1237, allocations: 0.5541 MB / 492 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.1267, allocations: 2.298 MB / 494.3 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.1284, allocations: 0.7099 MB / 495 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007681/0.1292, allocations: 326.2 kB / 495.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.1292, allocations: 24.28 kB / 495.3 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1293, allocations: 38.94 kB / 495.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 1.963e-06/0.1293, allocations: 4 kB / 495.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.00436/0.1336, allocations: 1.918 MB / 497.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.1338, allocations: 239.8 kB / 497.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.1344, allocations: 0.5787 MB / 498.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.1345, allocations: 33.7 kB / 498.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.1347, allocations: 360.8 kB / 498.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.1349, allocations: 185.3 kB / 498.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.135, allocations: 98.23 kB / 498.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1352, allocations: 334 kB / 499.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/0.1359, allocations: 294.9 kB / 499.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.1368, allocations: 439.5 kB / 499.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.1383, allocations: 0.6512 MB / 0.4887 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1383, allocations: 0 / 0.4887 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001828/0.1402, allocations: 0.7948 MB / 0.4895 GB, free: 15.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1402, allocations: 4 kB / 0.4895 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.1402, allocations: 4 kB / 0.4895 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1403, allocations: 8 kB / 0.4895 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/0.1411, allocations: 203.9 kB / 0.4897 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1411, allocations: 8 kB / 0.4897 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.1416, allocations: 71.92 kB / 0.4898 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.1417, allocations: 27.98 kB / 0.4898 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007045/0.1424, allocations: 361.1 kB / 0.4902 GB, free: 15.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006399/0.143, allocations: 369.3 kB / 0.4905 GB, free: 14.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001071/0.1441, allocations: 0.5359 MB / 0.491 GB, free: 14.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.1441, allocations: 7.875 kB / 0.4911 GB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001313/0.1454, allocations: 0.6631 MB / 0.4917 GB, free: 13.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1455, allocations: 4 kB / 0.4917 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.1455, allocations: 4 kB / 0.4917 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.1455, allocations: 4 kB / 0.4917 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.1461, allocations: 163.8 kB / 0.4919 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1462, allocations: 11.88 kB / 0.4919 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.1466, allocations: 60.02 kB / 0.4919 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.1467, allocations: 23.98 kB / 0.492 GB, free: 13.22 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.0001805/0.1468, allocations: 212.1 kB / 0.4922 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.147, allocations: 75.06 kB / 0.4922 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.1472, allocations: 87.42 kB / 0.4923 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1472, allocations: 11.94 kB / 0.4923 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1472, allocations: 4 kB / 0.4923 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1472, allocations: 0 / 0.4923 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.1499, allocations: 1.46 MB / 0.4938 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1499, allocations: 0 / 0.4938 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.1506, allocations: 155.9 kB / 0.4939 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1506, allocations: 0 / 0.4939 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.1506, allocations: 15.98 kB / 0.4939 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1507, allocations: 0 / 0.4939 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1507, allocations: 4 kB / 0.4939 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.1532, allocations: 1.256 MB / 0.4952 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.1535, allocations: 184.2 kB / 0.4953 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.668e-05/0.1536, allocations: 12 kB / 0.4953 GB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.1541, allocations: 83.91 kB / 0.4954 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1542, allocations: 39.88 kB / 0.4955 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.1543, allocations: 19.98 kB / 0.4955 GB, free: 9.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000436/0.1547, allocations: 403.1 kB / 0.4959 GB, free: 9.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1547, allocations: 0 / 0.4959 GB, free: 9.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006834/0.1554, allocations: 184 kB / 0.496 GB, free: 8.934 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.0001436/0.1556, allocations: 111.1 kB / 0.4961 GB, free: 8.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.1579, allocations: 0.9774 MB / 0.4971 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1579, allocations: 4 kB / 0.4971 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.1587, allocations: 356.2 kB / 0.4974 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.1598, allocations: 186 kB / 0.4976 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.1622, allocations: 1.637 MB / 0.4992 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.1626, allocations: 0.9221 MB / 0.5001 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.1629, allocations: 59.41 kB / 0.5002 GB, free: 4.613 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1629, allocations: 7.875 kB / 0.5002 GB, free: 4.605 MB / 382.1 MB Notification: Performance of Templates: time 0.1903/0.3532, allocations: 8.84 MB / 0.5088 GB, free: 39.55 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 -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