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.001988/0.001988, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.145/2.145, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001036/0.001035, allocations: 86.64 kB / 267.5 MB, free: 14.05 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.2868/0.2868, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.759e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4903/0.6102, allocations: 89.05 MB / 0.5598 GB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.6104, allocations: 69.88 kB / 0.5598 GB, free: 14.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06998/0.6804, allocations: 15.59 MB / 0.575 GB, free: 1.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6805, allocations: 0 / 0.575 GB, free: 1.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001191/0.6806, allocations: 20 kB / 0.5751 GB, free: 1.48 MB / 378.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.002905/0.6836, allocations: 1.052 MB / 0.5761 GB, free: 452 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.6836, allocations: 8.031 kB / 0.5761 GB, free: 444 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.6841, allocations: 122.5 kB / 0.5762 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.686, allocations: 0.6365 MB / 0.5768 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.6861, allocations: 46.19 kB / 0.5769 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.6863, allocations: 65.03 kB / 0.5769 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.6879, allocations: 0.6762 MB / 0.5776 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.688, allocations: 7.891 kB / 0.5776 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.6881, allocations: 24.88 kB / 0.5776 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.6882, allocations: 16 kB / 0.5777 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.6894, allocations: 435.8 kB / 0.5781 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.6958, allocations: 2.793 MB / 0.5808 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.6976, allocations: 0.5482 MB / 0.5813 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/0.6983, allocations: 240 kB / 0.5816 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-05/0.6984, allocations: 4 kB / 0.5816 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.6984, allocations: 45.94 kB / 0.5816 GB, free: 11.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.596e-06/0.6985, allocations: 0 / 0.5816 GB, free: 11.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.001561/0.7, allocations: 489.7 kB / 0.5821 GB, free: 11.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.7002, allocations: 243.3 kB / 0.5823 GB, free: 11.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.7016, allocations: 0.6094 MB / 0.5829 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.7018, allocations: 35.02 kB / 0.5829 GB, free: 10.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.7022, allocations: 435.5 kB / 0.5834 GB, free: 10.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.7025, allocations: 180.2 kB / 0.5835 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.7025, allocations: 13.75 kB / 0.5835 GB, free: 10.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7027, allocations: 336.9 kB / 0.5839 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.7032, allocations: 163.2 kB / 0.584 GB, free: 9.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/0.7039, allocations: 299.7 kB / 0.5843 GB, free: 9.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.7044, allocations: 195.5 kB / 0.5845 GB, free: 9.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.7045, allocations: 8 kB / 0.5845 GB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003396/0.7079, allocations: 0.8315 MB / 0.5853 GB, free: 8.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005726/0.7085, allocations: 1.135 MB / 0.5864 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.7086, allocations: 4 kB / 0.5864 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.7103, allocations: 266.1 kB / 0.5867 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.7114, allocations: 126.8 kB / 0.5868 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.7175, allocations: 3.578 MB / 0.5903 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.7186, allocations: 97.75 kB / 0.5904 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.7187, allocations: 27.47 kB / 0.5904 GB, free: 3.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.7188, allocations: 4 kB / 0.5904 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002063/0.7208, allocations: 0.5699 MB / 0.591 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.7209, allocations: 4 kB / 0.591 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/0.7216, allocations: 113.5 kB / 0.5911 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.7231, allocations: 174.6 kB / 0.5912 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004586/0.7277, allocations: 3.137 MB / 0.5943 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.7284, allocations: 67.81 kB / 0.5944 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.7285, allocations: 22.56 kB / 0.5944 GB, free: 15.72 MB / 410.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 () * 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.0003117/0.7288, allocations: 133 kB / 0.5945 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/0.7292, allocations: 90.88 kB / 0.5946 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.7295, allocations: 97.77 kB / 0.5947 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.7296, allocations: 8 kB / 0.5947 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7296, allocations: 0 / 0.5947 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.7296, allocations: 11.94 kB / 0.5947 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.7312, allocations: 0.7376 MB / 0.5954 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.7313, allocations: 0 / 0.5954 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.7326, allocations: 127 kB / 0.5956 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.7326, allocations: 0 / 0.5956 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.7327, allocations: 14.86 kB / 0.5956 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.7327, allocations: 7.938 kB / 0.5956 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7327, allocations: 0 / 0.5956 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.7349, allocations: 1.09 MB / 0.5966 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.7355, allocations: 218.4 kB / 0.5969 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.7357, allocations: 10.25 kB / 0.5969 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/0.7366, allocations: 59.64 kB / 0.5969 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.7368, allocations: 35.45 kB / 0.597 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.7369, allocations: 15.25 kB / 0.597 GB, free: 13.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009738/0.7378, allocations: 488.2 kB / 0.5974 GB, free: 13.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7379, allocations: 0 / 0.5974 GB, free: 13.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001501/0.7394, allocations: 267.6 kB / 0.5977 GB, free: 12.95 MB / 410.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 () * 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.0002426/0.7397, allocations: 117.2 kB / 0.5978 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005443/0.7451, allocations: 1.396 MB / 0.5992 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.7452, allocations: 0 / 0.5992 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006658/0.7458, allocations: 226.8 kB / 0.5994 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.7478, allocations: 203.9 kB / 0.5996 GB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.7515, allocations: 1.158 MB / 0.6007 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/0.7524, allocations: 1.004 MB / 0.6017 GB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.7529, allocations: 47.44 kB / 0.6017 GB, free: 9.195 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.7529, allocations: 0 / 0.6017 GB, free: 9.195 MB / 410.7 MB Notification: Performance of Templates: time 0.03827/0.7911, allocations: 16.36 MB / 0.6177 GB, free: 8.984 MB / 426.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