Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008037/0.0008037, allocations: 78.64 kB / 261.7 MB, free: 1.68 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.1949/0.1949, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.35e-05, allocations: 0 / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4907, allocations: 88.39 MB / 0.5522 GB, free: 6.895 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001511/0.4909, allocations: 73.59 kB / 0.5523 GB, free: 6.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03578/0.5267, allocations: 15.46 MB / 0.5674 GB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5267, allocations: 0 / 0.5674 GB, free: 10.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000111/0.5268, allocations: 27.98 kB / 0.5674 GB, free: 10.28 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.002037/0.5289, allocations: 1.052 MB / 0.5685 GB, free: 9.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5289, allocations: 8.031 kB / 0.5685 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/0.5294, allocations: 122.5 kB / 0.5686 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5304, allocations: 0.6438 MB / 0.5692 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.5304, allocations: 21.09 kB / 0.5692 GB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/0.5305, allocations: 40 kB / 0.5693 GB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006435/0.5312, allocations: 391.8 kB / 0.5696 GB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/0.532, allocations: 0.581 MB / 0.5702 GB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.532, allocations: 4 kB / 0.5702 GB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.5321, allocations: 0 / 0.5702 GB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5321, allocations: 19.98 kB / 0.5702 GB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.5352, allocations: 2.656 MB / 0.5728 GB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008629/0.5361, allocations: 0.5291 MB / 0.5733 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.5364, allocations: 217.8 kB / 0.5736 GB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.5364, allocations: 8 kB / 0.5736 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.5365, allocations: 37.75 kB / 0.5736 GB, free: 4.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/0.5365, allocations: 0 / 0.5736 GB, free: 4.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007645/0.5372, allocations: 466.5 kB / 0.574 GB, free: 4.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5374, allocations: 239.3 kB / 0.5743 GB, free: 4.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.538, allocations: 0.517 MB / 0.5748 GB, free: 3.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.538, allocations: 29.7 kB / 0.5748 GB, free: 3.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.5383, allocations: 447.3 kB / 0.5752 GB, free: 3.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.5384, allocations: 177.4 kB / 0.5754 GB, free: 3.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.5384, allocations: 0 / 0.5754 GB, free: 3.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5386, allocations: 330.5 kB / 0.5757 GB, free: 3.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.5388, allocations: 156.7 kB / 0.5759 GB, free: 2.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.5391, allocations: 285.5 kB / 0.5761 GB, free: 2.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.5394, allocations: 183.4 kB / 0.5763 GB, free: 2.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5394, allocations: 4 kB / 0.5763 GB, free: 2.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001726/0.5411, allocations: 0.8419 MB / 0.5771 GB, free: 1.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004236/0.5416, allocations: 1.135 MB / 0.5782 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5416, allocations: 4 kB / 0.5782 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008277/0.5424, allocations: 256.6 kB / 0.5785 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.5429, allocations: 133 kB / 0.5786 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.5462, allocations: 3.55 MB / 0.5821 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.5467, allocations: 79.55 kB / 0.5822 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.5467, allocations: 19.62 kB / 0.5822 GB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.5467, allocations: 4 kB / 0.5822 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009313/0.5477, allocations: 0.5082 MB / 0.5827 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5477, allocations: 4 kB / 0.5827 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.5481, allocations: 121.5 kB / 0.5828 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.5487, allocations: 179.3 kB / 0.583 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.5514, allocations: 3.02 MB / 0.5859 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.552, allocations: 51.56 kB / 0.586 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.552, allocations: 23.31 kB / 0.586 GB, free: 9.094 MB / 394.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.0002095/0.5522, allocations: 120.9 kB / 0.5861 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.5524, allocations: 90.92 kB / 0.5862 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.5527, allocations: 85.22 kB / 0.5863 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5527, allocations: 8 kB / 0.5863 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5527, allocations: 256 / 0.5863 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5527, allocations: 3.984 kB / 0.5863 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009199/0.5537, allocations: 0.6558 MB / 0.5869 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5537, allocations: 0 / 0.5869 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.5543, allocations: 127.8 kB / 0.5871 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5543, allocations: 0 / 0.5871 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.5543, allocations: 7.875 kB / 0.5871 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5543, allocations: 7.953 kB / 0.5871 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5543, allocations: 3.938 kB / 0.5871 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5554, allocations: 1.037 MB / 0.5881 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.5556, allocations: 205.1 kB / 0.5883 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.5557, allocations: 3.984 kB / 0.5883 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.5562, allocations: 47.97 kB / 0.5883 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/0.5563, allocations: 34.02 kB / 0.5884 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.5563, allocations: 15.56 kB / 0.5884 GB, free: 7.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004279/0.5568, allocations: 410.5 kB / 0.5888 GB, free: 6.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5568, allocations: 4 kB / 0.5888 GB, free: 6.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009791/0.5578, allocations: 250.8 kB / 0.589 GB, free: 6.5 MB / 394.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.000187/0.558, allocations: 107.1 kB / 0.5891 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.561, allocations: 1.427 MB / 0.5905 GB, free: 5.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.5611, allocations: 7.312 kB / 0.5905 GB, free: 5.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.5614, allocations: 213.2 kB / 0.5907 GB, free: 5.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.5625, allocations: 194.7 kB / 0.5909 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.5644, allocations: 1.113 MB / 0.592 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.5649, allocations: 1.01 MB / 0.593 GB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005435/0.5655, allocations: 139.6 kB / 0.5931 GB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5656, allocations: 35.44 kB / 0.5931 GB, free: 2.633 MB / 394.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5656, allocations: 0 / 0.5931 GB, free: 2.633 MB / 394.7 MB Notification: Performance of Templates: time 0.01847/0.5841, allocations: 11 MB / 0.6039 GB, free: 7.676 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches