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.001147/0.001147, allocations: 183 kB / 16.63 MB, free: 5.137 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.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0009627/0.0009629, allocations: 91.92 kB / 269.9 MB, free: 8.441 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.3184/0.3184, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009391/0.0009392, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1056, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005467/0.1111, allocations: 4.389 MB / 491.4 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003354/0.1145, allocations: 1.575 MB / 493 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008783/0.1154, allocations: 35.81 kB / 493 MB, free: 6.512 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.1158, allocations: 114.8 kB / 493.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000623/0.1165, allocations: 142.8 kB / 493.3 MB, free: 6.258 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1177, allocations: 0.5384 MB / 493.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1188, allocations: 0.9801 MB / 494.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006025/0.1194, allocations: 427.4 kB / 495.2 MB, free: 4.297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.1198, allocations: 322.2 kB / 495.5 MB, free: 3.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.1201, allocations: 369.6 kB / 495.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.1203, allocations: 40 kB / 495.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.604e-05/0.1203, allocations: 44 kB / 496 MB, free: 3.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1205, allocations: 155.2 kB / 496.1 MB, free: 3.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.1208, allocations: 397.2 kB / 496.5 MB, free: 2.992 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007014/0.1215, allocations: 0.9417 MB / 497.4 MB, free: 2.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1215, allocations: 4 kB / 497.4 MB, free: 2.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1216, allocations: 4 kB / 497.4 MB, free: 2.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.1216, allocations: 0 / 497.4 MB, free: 2.039 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.002044/0.1236, allocations: 1.3 MB / 498.7 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1237, allocations: 8.031 kB / 498.7 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1238, allocations: 119.4 kB / 498.9 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.1247, allocations: 0.6437 MB / 499.5 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.1247, allocations: 49.62 kB / 499.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.1248, allocations: 64.38 kB / 499.6 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1259, allocations: 0.7471 MB / 0.4886 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.126, allocations: 3.938 kB / 0.4886 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.126, allocations: 24 kB / 0.4887 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.126, allocations: 16 kB / 0.4887 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1271, allocations: 0.5459 MB / 0.4892 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.1302, allocations: 2.729 MB / 0.4919 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.1315, allocations: 0.6632 MB / 0.4925 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.132, allocations: 283.3 kB / 0.4928 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.1321, allocations: 15.94 kB / 0.4928 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1321, allocations: 38.56 kB / 0.4928 GB, free: 10.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 2.435e-06/0.1322, allocations: 0 / 0.4928 GB, free: 10.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.001688/0.1338, allocations: 0.7949 MB / 0.4936 GB, free: 9.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.134, allocations: 243.3 kB / 0.4939 GB, free: 9.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.1347, allocations: 0.7127 MB / 0.4946 GB, free: 8.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.1347, allocations: 37.7 kB / 0.4946 GB, free: 8.633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.135, allocations: 444.3 kB / 0.495 GB, free: 8.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1352, allocations: 181.4 kB / 0.4952 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1353, allocations: 114.2 kB / 0.4953 GB, free: 7.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1355, allocations: 326 kB / 0.4956 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.136, allocations: 227 kB / 0.4958 GB, free: 7.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.1365, allocations: 372 kB / 0.4962 GB, free: 6.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.1375, allocations: 0.553 MB / 0.4967 GB, free: 6.348 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1376, allocations: 0 / 0.4967 GB, free: 6.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002482/0.14, allocations: 1.049 MB / 0.4977 GB, free: 5.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1401, allocations: 4 kB / 0.4977 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1401, allocations: 4 kB / 0.4977 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.1412, allocations: 319.3 kB / 0.4981 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.1417, allocations: 123.9 kB / 0.4982 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1941/0.3358, allocations: 6.771 MB / 0.5048 GB, free: 56.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.3364, allocations: 77.81 kB / 0.5049 GB, free: 56.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.3364, allocations: 22.45 kB / 0.5049 GB, free: 56.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005917/0.337, allocations: 346.4 kB / 0.5052 GB, free: 56.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004362/0.3375, allocations: 332.2 kB / 0.5055 GB, free: 56.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007473/0.3382, allocations: 0.4886 MB / 0.506 GB, free: 56.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/0.3383, allocations: 4.719 kB / 0.506 GB, free: 56.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001416/0.3397, allocations: 0.7452 MB / 0.5067 GB, free: 56.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.3397, allocations: 5.531 kB / 0.5067 GB, free: 56.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3397, allocations: 3.75 kB / 0.5067 GB, free: 56.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.3402, allocations: 139.6 kB / 0.5069 GB, free: 56.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.3409, allocations: 173.1 kB / 0.507 GB, free: 56.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.3436, allocations: 3.189 MB / 0.5102 GB, free: 53.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.344, allocations: 68.83 kB / 0.5102 GB, free: 53.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.344, allocations: 20.41 kB / 0.5102 GB, free: 53.68 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 () * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.3442, allocations: 211.1 kB / 0.5104 GB, free: 53.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.3444, allocations: 89 kB / 0.5105 GB, free: 53.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.3446, allocations: 107.5 kB / 0.5106 GB, free: 53.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3446, allocations: 10.75 kB / 0.5106 GB, free: 53.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3446, allocations: 0 / 0.5106 GB, free: 53.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3446, allocations: 4.125 kB / 0.5106 GB, free: 53.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009168/0.3455, allocations: 0.7387 MB / 0.5114 GB, free: 53.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3455, allocations: 1.375 kB / 0.5114 GB, free: 53.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.3461, allocations: 109.1 kB / 0.5115 GB, free: 53.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3461, allocations: 2.75 kB / 0.5115 GB, free: 53.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.3461, allocations: 22.64 kB / 0.5115 GB, free: 53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.3461, allocations: 2.75 kB / 0.5115 GB, free: 53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3461, allocations: 3.484 kB / 0.5115 GB, free: 53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007811/0.354, allocations: 5.503 MB / 0.5169 GB, free: 49.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.3542, allocations: 218.7 kB / 0.5171 GB, free: 49.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.3542, allocations: 11.06 kB / 0.5171 GB, free: 49.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.3547, allocations: 39.06 kB / 0.5171 GB, free: 49.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.3548, allocations: 36.12 kB / 0.5172 GB, free: 49.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3548, allocations: 9.469 kB / 0.5172 GB, free: 49.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004154/0.3552, allocations: 0.4895 MB / 0.5177 GB, free: 49.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3552, allocations: 0 / 0.5177 GB, free: 49.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001172/0.3564, allocations: 397.1 kB / 0.518 GB, free: 49.41 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.3565, allocations: 121.1 kB / 0.5181 GB, free: 49.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003405/0.3599, allocations: 1.873 MB / 0.52 GB, free: 48.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3599, allocations: 0 / 0.52 GB, free: 48.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.3604, allocations: 285.9 kB / 0.5202 GB, free: 48.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.3616, allocations: 224.6 kB / 0.5205 GB, free: 48.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.364, allocations: 2.177 MB / 0.5226 GB, free: 46.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3644, allocations: 1 MB / 0.5236 GB, free: 46.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003536/0.3647, allocations: 104.5 kB / 0.5237 GB, free: 46.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.3649, allocations: 56 kB / 0.5237 GB, free: 46.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3649, allocations: 0 / 0.5237 GB, free: 46.02 MB / 394.7 MB Notification: Performance of Templates: time 0.01858/0.3835, allocations: 13.43 MB / 0.5368 GB, free: 45.16 MB / 394.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@2/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