Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.896/1.896, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001058/0.001058, allocations: 95.59 kB / 270.9 MB, free: 8.395 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.5024/0.5024, allocations: 43.54 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006603, allocations: 19.94 kB / 431.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1294, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.5893, allocations: 89.15 MB / 0.5658 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5896, allocations: 67.98 kB / 0.5658 GB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06652/0.6561, allocations: 15.63 MB / 0.5811 GB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6562, allocations: 0 / 0.5811 GB, free: 13.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.6563, allocations: 23.94 kB / 0.5811 GB, free: 13.74 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003036/0.6594, allocations: 1.195 MB / 0.5823 GB, free: 12.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6594, allocations: 12.69 kB / 0.5823 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.6597, allocations: 115.2 kB / 0.5824 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.6612, allocations: 0.6521 MB / 0.5831 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-05/0.6613, allocations: 46.34 kB / 0.5831 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.6615, allocations: 68 kB / 0.5832 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.6636, allocations: 0.7452 MB / 0.5839 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.6636, allocations: 15.89 kB / 0.5839 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/0.6637, allocations: 25.41 kB / 0.5839 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.6638, allocations: 16 kB / 0.584 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.666, allocations: 0.5855 MB / 0.5845 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005671/0.6717, allocations: 2.785 MB / 0.5872 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/0.6745, allocations: 0.7418 MB / 0.588 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.6746, allocations: 12.23 kB / 0.588 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.6747, allocations: 50.56 kB / 0.588 GB, free: 6.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 3.477e-06/0.6747, allocations: 3.938 kB / 0.588 GB, free: 6.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.003406/0.6781, allocations: 0.8583 MB / 0.5889 GB, free: 5.535 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.6783, allocations: 239.3 kB / 0.5891 GB, free: 5.246 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.6796, allocations: 0.622 MB / 0.5897 GB, free: 4.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.6797, allocations: 33.7 kB / 0.5897 GB, free: 4.578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.6802, allocations: 435 kB / 0.5902 GB, free: 4.148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.6805, allocations: 185.2 kB / 0.5903 GB, free: 3.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.6805, allocations: 16 kB / 0.5903 GB, free: 3.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6807, allocations: 334.8 kB / 0.5907 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009876/0.6817, allocations: 244.9 kB / 0.5909 GB, free: 3.375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.6828, allocations: 376.1 kB / 0.5913 GB, free: 2.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.6838, allocations: 281.6 kB / 0.5915 GB, free: 2.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6838, allocations: 0 / 0.5915 GB, free: 2.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004567/0.6884, allocations: 1.034 MB / 0.5925 GB, free: 1.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004731/0.6889, allocations: 1.139 MB / 0.5936 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.689, allocations: 4 kB / 0.5936 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/0.6911, allocations: 363.1 kB / 0.594 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.6923, allocations: 135.8 kB / 0.5941 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006988/0.6993, allocations: 3.852 MB / 0.5979 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.7003, allocations: 95.58 kB / 0.598 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.7004, allocations: 20 kB / 0.598 GB, free: 11.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7004, allocations: 6.969 kB / 0.598 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002592/0.703, allocations: 0.6682 MB / 0.5987 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.7031, allocations: 4 kB / 0.5987 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/0.7039, allocations: 141.9 kB / 0.5988 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.7054, allocations: 179.8 kB / 0.599 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00524/0.7106, allocations: 3.287 MB / 0.6022 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.7113, allocations: 71.55 kB / 0.6022 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.7114, allocations: 24.06 kB / 0.6023 GB, free: 7.078 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006504/0.7121, allocations: 296.9 kB / 0.6026 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.7124, allocations: 90.88 kB / 0.6026 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.7127, allocations: 99.38 kB / 0.6027 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.7127, allocations: 4 kB / 0.6027 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.7127, allocations: 4 kB / 0.6027 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.7127, allocations: 3.953 kB / 0.6027 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.7142, allocations: 0.7469 MB / 0.6035 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.7143, allocations: 7.938 kB / 0.6035 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.7154, allocations: 119.9 kB / 0.6036 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/0.7155, allocations: 12.05 kB / 0.6036 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.7155, allocations: 12 kB / 0.6036 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.7156, allocations: 4 kB / 0.6036 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7156, allocations: 4 kB / 0.6036 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.7191, allocations: 1.316 MB / 0.6049 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/0.7195, allocations: 219.7 kB / 0.6051 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.7197, allocations: 12 kB / 0.6051 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009233/0.7206, allocations: 59.95 kB / 0.6052 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.7208, allocations: 35.89 kB / 0.6052 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.7208, allocations: 12 kB / 0.6052 GB, free: 3.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009861/0.7218, allocations: 491 kB / 0.6057 GB, free: 3.449 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7219, allocations: 0 / 0.6057 GB, free: 3.449 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00141/0.7233, allocations: 271.1 kB / 0.606 GB, free: 3.184 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * 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.0002135/0.7235, allocations: 123.1 kB / 0.6061 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006436/0.73, allocations: 1.592 MB / 0.6076 GB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.73, allocations: 0 / 0.6076 GB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.7311, allocations: 303.7 kB / 0.6079 GB, free: 1.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.733, allocations: 215.1 kB / 0.6081 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.7372, allocations: 1.815 MB / 0.6099 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.7379, allocations: 1 MB / 0.6109 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.7383, allocations: 51.44 kB / 0.6109 GB, free: 13.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7383, allocations: 4 kB / 0.6109 GB, free: 13.98 MB / 442.7 MB Notification: Performance of Templates: time 0.03061/0.7689, allocations: 16.35 MB / 0.6269 GB, free: 13.66 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches