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.00212/0.00212, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001177/0.001177, allocations: 92.36 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5009/0.5009, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004701, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.5742, allocations: 90.85 MB / 0.5674 GB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5746, allocations: 71.97 kB / 0.5675 GB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07736/0.6519, allocations: 15.84 MB / 0.583 GB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.652, allocations: 3.938 kB / 0.583 GB, free: 12.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.6521, allocations: 27.92 kB / 0.583 GB, free: 11.98 MB / 410.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.004144/0.6563, allocations: 1.164 MB / 0.5842 GB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6563, allocations: 12.03 kB / 0.5842 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.6567, allocations: 94.88 kB / 0.5843 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.659, allocations: 0.617 MB / 0.5849 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.6591, allocations: 42.03 kB / 0.5849 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.6593, allocations: 59.84 kB / 0.585 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.662, allocations: 0.7313 MB / 0.5857 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.6621, allocations: 7.938 kB / 0.5857 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/0.6622, allocations: 24 kB / 0.5857 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.6622, allocations: 12 kB / 0.5857 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.6651, allocations: 0.6088 MB / 0.5863 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005518/0.6706, allocations: 2.282 MB / 0.5885 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00535/0.676, allocations: 1.051 MB / 0.5896 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.673e-05/0.6762, allocations: 7.938 kB / 0.5896 GB, free: 5.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.6762, allocations: 54.5 kB / 0.5896 GB, free: 4.941 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 3.687e-06/0.6763, allocations: 0 / 0.5896 GB, free: 4.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.005208/0.6815, allocations: 1.029 MB / 0.5906 GB, free: 3.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6816, allocations: 140.5 kB / 0.5908 GB, free: 3.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009977/0.6826, allocations: 0.5036 MB / 0.5912 GB, free: 3.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.6828, allocations: 37.7 kB / 0.5913 GB, free: 3.184 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.6831, allocations: 379.2 kB / 0.5916 GB, free: 2.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.6834, allocations: 161.6 kB / 0.5918 GB, free: 2.652 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.6834, allocations: 12 kB / 0.5918 GB, free: 2.641 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6836, allocations: 334.8 kB / 0.5921 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.6852, allocations: 316.9 kB / 0.5924 GB, free: 1.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.687, allocations: 420.1 kB / 0.5928 GB, free: 1.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.6886, allocations: 333.4 kB / 0.5932 GB, free: 1.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6887, allocations: 0 / 0.5932 GB, free: 1.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003644/0.6923, allocations: 0.7728 MB / 0.5939 GB, free: 460 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/0.6927, allocations: 0.8854 MB / 0.5948 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6928, allocations: 0 / 0.5948 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.6928, allocations: 8 kB / 0.5948 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.6948, allocations: 203.8 kB / 0.595 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.6949, allocations: 7.938 kB / 0.595 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.696, allocations: 115.6 kB / 0.5951 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/0.6961, allocations: 19.98 kB / 0.5951 GB, free: 15.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.6962, allocations: 4 kB / 0.5951 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002537/0.6987, allocations: 0.5996 MB / 0.5957 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6987, allocations: 0 / 0.5957 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.6988, allocations: 4 kB / 0.5957 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.7004, allocations: 176 kB / 0.5959 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7004, allocations: 4 kB / 0.5959 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007263/0.7012, allocations: 91.59 kB / 0.596 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.7013, allocations: 19.98 kB / 0.596 GB, free: 14.26 MB / 426.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.0005396/0.7018, allocations: 269 kB / 0.5962 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.7021, allocations: 75.06 kB / 0.5963 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.7023, allocations: 79.22 kB / 0.5964 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.7024, allocations: 8 kB / 0.5964 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7024, allocations: 0 / 0.5964 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.7024, allocations: 7.938 kB / 0.5964 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.7069, allocations: 1.409 MB / 0.5978 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.7069, allocations: 0 / 0.5978 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.7084, allocations: 159.8 kB / 0.5979 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.7084, allocations: 0 / 0.5979 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.7085, allocations: 19.94 kB / 0.5979 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.7085, allocations: 4 kB / 0.598 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.7085, allocations: 3.938 kB / 0.598 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00526/0.7138, allocations: 1.325 MB / 0.5992 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.7143, allocations: 195.9 kB / 0.5994 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.7144, allocations: 12 kB / 0.5994 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7155, allocations: 87.92 kB / 0.5995 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.7157, allocations: 47.92 kB / 0.5996 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.7158, allocations: 20 kB / 0.5996 GB, free: 10.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007398/0.7165, allocations: 403 kB / 0.6 GB, free: 10.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7165, allocations: 0 / 0.6 GB, free: 10.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001069/0.7176, allocations: 223.3 kB / 0.6002 GB, free: 9.832 MB / 426.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.0002072/0.7178, allocations: 115.1 kB / 0.6003 GB, free: 9.707 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004796/0.7226, allocations: 1.044 MB / 0.6013 GB, free: 8.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.7227, allocations: 0 / 0.6013 GB, free: 8.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.7244, allocations: 367.7 kB / 0.6017 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.7261, allocations: 179 kB / 0.6018 GB, free: 8.137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/0.7324, allocations: 1.786 MB / 0.6036 GB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.7331, allocations: 0.9379 MB / 0.6045 GB, free: 5.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/0.7336, allocations: 59.41 kB / 0.6046 GB, free: 5.293 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7336, allocations: 0 / 0.6046 GB, free: 5.293 MB / 426.7 MB Notification: Performance of Templates: time 0.02101/0.7546, allocations: 8.529 MB / 0.6129 GB, free: 12.8 MB / 442.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