Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002364/0.00237, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3181/0.3181, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004652, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005445/0.1267, allocations: 2.981 MB / 493.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.1308, allocations: 1.341 MB / 494.5 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007297/0.1316, allocations: 27.81 kB / 494.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.1318, allocations: 51.38 kB / 494.6 MB, free: 4.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1329, allocations: 159.4 kB / 494.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.1349, allocations: 483.1 kB / 495.2 MB, free: 4.289 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1368, allocations: 0.5824 MB / 495.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006537/0.1376, allocations: 224.5 kB / 496 MB, free: 3.473 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008253/0.1384, allocations: 290.7 kB / 496.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.139, allocations: 290.3 kB / 496.6 MB, free: 2.902 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.1392, allocations: 24 kB / 496.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1394, allocations: 20 kB / 496.7 MB, free: 2.859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1395, allocations: 107.4 kB / 496.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1398, allocations: 141.2 kB / 496.9 MB, free: 2.609 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009949/0.1408, allocations: 0.5691 MB / 497.5 MB, free: 2.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1408, allocations: 4 kB / 497.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1408, allocations: 0 / 497.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.1408, allocations: 0 / 497.5 MB, free: 2.035 MB / 330.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.003718/0.1446, allocations: 1.133 MB / 498.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1447, allocations: 12.03 kB / 498.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.145, allocations: 90.88 kB / 498.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.1464, allocations: 0.5459 MB / 499.3 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.1466, allocations: 44.94 kB / 499.3 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.1467, allocations: 51.98 kB / 499.3 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.1495, allocations: 0.7463 MB / 0.4884 GB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.1496, allocations: 0 / 0.4884 GB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.1497, allocations: 24 kB / 0.4884 GB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.1497, allocations: 12 kB / 0.4884 GB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.1527, allocations: 0.6362 MB / 0.489 GB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006323/0.1591, allocations: 2.341 MB / 0.4913 GB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/0.1628, allocations: 0.8271 MB / 0.4921 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.673e-05/0.1629, allocations: 8.359 kB / 0.4921 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.163, allocations: 50.83 kB / 0.4922 GB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 3.737e-06/0.163, allocations: 0 / 0.4922 GB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.00941/0.1724, allocations: 2.156 MB / 0.4943 GB, free: 9.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.1726, allocations: 196.3 kB / 0.4945 GB, free: 8.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.1737, allocations: 0.5747 MB / 0.495 GB, free: 8.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.1739, allocations: 33.7 kB / 0.4951 GB, free: 8.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.1743, allocations: 375.2 kB / 0.4954 GB, free: 7.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.1747, allocations: 181.4 kB / 0.4956 GB, free: 7.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.1747, allocations: 8 kB / 0.4956 GB, free: 7.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1749, allocations: 334.8 kB / 0.4959 GB, free: 7.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.1766, allocations: 340.9 kB / 0.4962 GB, free: 6.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.1786, allocations: 466 kB / 0.4967 GB, free: 6.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.1803, allocations: 354 kB / 0.497 GB, free: 6.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1804, allocations: 0 / 0.497 GB, free: 6.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003772/0.1841, allocations: 0.8382 MB / 0.4978 GB, free: 5.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004555/0.1846, allocations: 0.8865 MB / 0.4987 GB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1847, allocations: 0 / 0.4987 GB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.1847, allocations: 8 kB / 0.4987 GB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.1865, allocations: 215.7 kB / 0.4989 GB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.1866, allocations: 11.94 kB / 0.4989 GB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.1877, allocations: 107.9 kB / 0.499 GB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.1878, allocations: 16 kB / 0.4991 GB, free: 3.957 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1878, allocations: 4 kB / 0.4991 GB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/0.1904, allocations: 0.6183 MB / 0.4997 GB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1905, allocations: 4 kB / 0.4997 GB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1905, allocations: 4 kB / 0.4997 GB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.1919, allocations: 180.2 kB / 0.4998 GB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.192, allocations: 7.938 kB / 0.4998 GB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.1927, allocations: 71.94 kB / 0.4999 GB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.1928, allocations: 20 kB / 0.4999 GB, free: 3.055 MB / 346.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 (66): * Single equations (assignments): 66 * 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.0005597/0.1934, allocations: 269 kB / 0.5002 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.1937, allocations: 79.05 kB / 0.5003 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.1939, allocations: 87.52 kB / 0.5004 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1939, allocations: 11.88 kB / 0.5004 GB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.194, allocations: 4 kB / 0.5004 GB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.194, allocations: 7.984 kB / 0.5004 GB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/0.199, allocations: 1.536 MB / 0.5019 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.199, allocations: 4 kB / 0.5019 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.2006, allocations: 179.8 kB / 0.502 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/0.2006, allocations: 4 kB / 0.5021 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/0.2007, allocations: 8 kB / 0.5021 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.2007, allocations: 8 kB / 0.5021 GB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.28e-05/0.2008, allocations: 7.938 kB / 0.5021 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/0.2063, allocations: 1.437 MB / 0.5035 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.2068, allocations: 196.1 kB / 0.5037 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.207, allocations: 16 kB / 0.5037 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.2081, allocations: 95.92 kB / 0.5038 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.2083, allocations: 51.67 kB / 0.5038 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.2084, allocations: 23.98 kB / 0.5038 GB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007753/0.2092, allocations: 403.1 kB / 0.5042 GB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2092, allocations: 0 / 0.5042 GB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001083/0.2103, allocations: 180 kB / 0.5044 GB, free: 14.34 MB / 362.7 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 (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.0002066/0.2105, allocations: 111.2 kB / 0.5045 GB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004915/0.2154, allocations: 1.092 MB / 0.5056 GB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.2155, allocations: 4 kB / 0.5056 GB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.2174, allocations: 407.5 kB / 0.506 GB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.2192, allocations: 174.8 kB / 0.5061 GB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/0.2255, allocations: 1.845 MB / 0.5079 GB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.2262, allocations: 0.9455 MB / 0.5089 GB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.2267, allocations: 59.41 kB / 0.5089 GB, free: 9.637 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2267, allocations: 4 kB / 0.5089 GB, free: 9.633 MB / 362.7 MB Notification: Performance of Templates: time 0.02196/0.2487, allocations: 8.658 MB / 0.5174 GB, free: 0.9922 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches