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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 112.6 kB / 17.09 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 198.1 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1901/0.1901, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 77.55 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.1005, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005286/0.1058, allocations: 4.402 MB / 0.4928 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1083, allocations: 1.606 MB / 0.4944 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.1087, allocations: 35.81 kB / 0.4944 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1091, allocations: 166.2 kB / 0.4946 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1094, allocations: 174.2 kB / 0.4948 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1104, allocations: 0.5811 MB / 0.4953 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.1113, allocations: 1.039 MB / 0.4964 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.1119, allocations: 451.1 kB / 0.4968 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.1122, allocations: 370.2 kB / 0.4971 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.1126, allocations: 393.7 kB / 0.4975 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.1127, allocations: 84 kB / 0.4976 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1128, allocations: 92 kB / 0.4977 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.113, allocations: 203.1 kB / 0.4979 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.1133, allocations: 445.2 kB / 0.4983 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008034/0.1141, allocations: 1.035 MB / 0.4993 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1141, allocations: 4 kB / 0.4993 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1141, allocations: 0 / 0.4993 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.1141, allocations: 0 / 0.4993 GB, free: 0.7109 MB / 382.1 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.001758/0.1159, allocations: 1.308 MB / 0.5006 GB, free: 15.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1159, allocations: 8.031 kB / 0.5006 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.1161, allocations: 123.4 kB / 0.5007 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/0.1169, allocations: 0.6865 MB / 0.5014 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.117, allocations: 45.69 kB / 0.5014 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.1171, allocations: 64.38 kB / 0.5015 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.1182, allocations: 0.7508 MB / 0.5022 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1182, allocations: 7.938 kB / 0.5022 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.1183, allocations: 27.94 kB / 0.5023 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.1183, allocations: 16 kB / 0.5023 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.1194, allocations: 0.5423 MB / 0.5028 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.1223, allocations: 2.71 MB / 0.5055 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.1235, allocations: 0.6632 MB / 0.5061 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.124, allocations: 291.2 kB / 0.5064 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.1241, allocations: 4 kB / 0.5064 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1241, allocations: 46.55 kB / 0.5064 GB, free: 9.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=52): time 1.773e-06/0.1241, allocations: 4 kB / 0.5064 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.001594/0.1257, allocations: 0.7949 MB / 0.5072 GB, free: 8.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.1258, allocations: 239.3 kB / 0.5074 GB, free: 8.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/0.1266, allocations: 0.7165 MB / 0.5081 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.1266, allocations: 37.7 kB / 0.5082 GB, free: 7.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.1269, allocations: 436.4 kB / 0.5086 GB, free: 6.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.1271, allocations: 185.3 kB / 0.5088 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1272, allocations: 110.2 kB / 0.5089 GB, free: 6.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1273, allocations: 326 kB / 0.5092 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.1278, allocations: 227 kB / 0.5094 GB, free: 5.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.1283, allocations: 368 kB / 0.5097 GB, free: 5.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.1293, allocations: 0.5572 MB / 0.5103 GB, free: 4.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1293, allocations: 0 / 0.5103 GB, free: 4.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002347/0.1317, allocations: 1.045 MB / 0.5113 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1317, allocations: 8 kB / 0.5113 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1317, allocations: 0 / 0.5113 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.1328, allocations: 327.4 kB / 0.5116 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.1333, allocations: 119.9 kB / 0.5117 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/0.1411, allocations: 7.267 MB / 0.5188 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.1415, allocations: 83.45 kB / 0.5189 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.1416, allocations: 20 kB / 0.5189 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005466/0.1421, allocations: 341.2 kB / 0.5193 GB, free: 11.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004302/0.1426, allocations: 328 kB / 0.5196 GB, free: 10.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007292/0.1433, allocations: 0.4947 MB / 0.5201 GB, free: 10.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/0.1433, allocations: 7.938 kB / 0.5201 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001348/0.1447, allocations: 0.7394 MB / 0.5208 GB, free: 9.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.1447, allocations: 11.94 kB / 0.5208 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1447, allocations: 4.188 kB / 0.5208 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004467/0.1452, allocations: 145.9 kB / 0.5209 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.1459, allocations: 175.8 kB / 0.5211 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/0.1489, allocations: 3.422 MB / 0.5245 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.1493, allocations: 59.56 kB / 0.5245 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.1494, allocations: 20 kB / 0.5245 GB, free: 5.406 MB / 414.1 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.0001769/0.1496, allocations: 228 kB / 0.5247 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.1497, allocations: 94.86 kB / 0.5248 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.1499, allocations: 99.39 kB / 0.5249 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1499, allocations: 0 / 0.5249 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.15, allocations: 4 kB / 0.5249 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.1502, allocations: 207.8 kB / 0.5251 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.1503, allocations: 15.94 kB / 0.5251 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.1508, allocations: 47.95 kB / 0.5252 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.1509, allocations: 31.95 kB / 0.5252 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001643/0.1526, allocations: 0.9321 MB / 0.5261 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001746/0.1543, allocations: 1.298 MB / 0.5274 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004791/0.1548, allocations: 276.1 kB / 0.5277 GB, free: 2.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005101/0.1553, allocations: 499 kB / 0.5281 GB, free: 1.652 MB / 414.1 MB Notification: Performance of Backend: time 4.71e-07/0.1553, allocations: 0 / 0.5281 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.1837/0.3391, allocations: 1.749 MB / 0.5299 GB, free: 39 MB / 414.1 MB Notification: Performance of SimCode: time 0.002284/0.3414, allocations: 1.989 MB / 0.5318 GB, free: 37.88 MB / 414.1 MB Notification: Performance of Templates: time 0.02229/0.3637, allocations: 15.58 MB / 0.547 GB, free: 34.27 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches