Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001275/0.001275, allocations: 181.2 kB / 19.38 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1827/0.1827, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2912, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004336/0.2955, allocations: 4.379 MB / 0.5238 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.298, allocations: 1.54 MB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.2984, allocations: 34.47 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.2987, allocations: 161.8 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.2991, allocations: 170.9 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3002, allocations: 0.5862 MB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009449/0.3012, allocations: 1.03 MB / 0.5273 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005395/0.3017, allocations: 434.6 kB / 0.5277 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.302, allocations: 365.2 kB / 0.528 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.3024, allocations: 394 kB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3025, allocations: 85.16 kB / 0.5285 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3027, allocations: 90.25 kB / 0.5286 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3028, allocations: 201.4 kB / 0.5288 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.3031, allocations: 434.6 kB / 0.5292 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007683/0.3039, allocations: 1.03 MB / 0.5302 GB, free: 12.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3039, allocations: 0 / 0.5302 GB, free: 12.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3039, allocations: 4 kB / 0.5302 GB, free: 12.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3039, allocations: 0 / 0.5302 GB, free: 12.17 MB / 398.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.001772/0.3057, allocations: 1.297 MB / 0.5314 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3057, allocations: 12.5 kB / 0.5315 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3059, allocations: 112.1 kB / 0.5316 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.3067, allocations: 0.653 MB / 0.5322 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.3067, allocations: 47.44 kB / 0.5323 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.3068, allocations: 65.75 kB / 0.5323 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.308, allocations: 0.7383 MB / 0.533 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.308, allocations: 5.172 kB / 0.533 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.3081, allocations: 30.75 kB / 0.5331 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.3081, allocations: 15.94 kB / 0.5331 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3092, allocations: 0.5415 MB / 0.5336 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.3122, allocations: 2.703 MB / 0.5363 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3135, allocations: 0.6648 MB / 0.5369 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.314, allocations: 284.4 kB / 0.5372 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.3141, allocations: 10.3 kB / 0.5372 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3141, allocations: 42.28 kB / 0.5372 GB, free: 6.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=52): time 3.827e-06/0.3141, allocations: 0 / 0.5372 GB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.001688/0.3158, allocations: 0.7958 MB / 0.538 GB, free: 6.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/0.3159, allocations: 242 kB / 0.5382 GB, free: 6.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/0.3166, allocations: 0.7049 MB / 0.5389 GB, free: 5.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.3167, allocations: 35.83 kB / 0.539 GB, free: 5.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.317, allocations: 432 kB / 0.5394 GB, free: 5.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3171, allocations: 187.2 kB / 0.5395 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.3173, allocations: 103.2 kB / 0.5396 GB, free: 5.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.3173, allocations: 332.2 kB / 0.54 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.3178, allocations: 230.7 kB / 0.5402 GB, free: 4.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.3184, allocations: 360.8 kB / 0.5405 GB, free: 4.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009984/0.3194, allocations: 0.5549 MB / 0.5411 GB, free: 4.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.3194, allocations: 1.094 kB / 0.5411 GB, free: 4.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002492/0.3219, allocations: 1.042 MB / 0.5421 GB, free: 3.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.322, allocations: 6.906 kB / 0.5421 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.322, allocations: 6.438 kB / 0.5421 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.3231, allocations: 320.6 kB / 0.5424 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.3236, allocations: 126.5 kB / 0.5425 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008101/0.3317, allocations: 7.263 MB / 0.5496 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.3322, allocations: 87.27 kB / 0.5497 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.3322, allocations: 20 kB / 0.5497 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005139/0.3327, allocations: 345.2 kB / 0.55 GB, free: 11.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004254/0.3332, allocations: 324.2 kB / 0.5504 GB, free: 11.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007619/0.334, allocations: 0.4976 MB / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.334, allocations: 4 kB / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001386/0.3354, allocations: 0.7429 MB / 0.5516 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3354, allocations: 14.56 kB / 0.5516 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3354, allocations: 192 / 0.5516 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/0.3358, allocations: 149.5 kB / 0.5517 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/0.3365, allocations: 167.8 kB / 0.5519 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.3397, allocations: 3.422 MB / 0.5552 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.3401, allocations: 59.58 kB / 0.5553 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.3401, allocations: 31.98 kB / 0.5553 GB, free: 5.949 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.0001583/0.3403, allocations: 212.1 kB / 0.5555 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.3404, allocations: 94.86 kB / 0.5556 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.3406, allocations: 95.16 kB / 0.5557 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3406, allocations: 8 kB / 0.5557 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3406, allocations: 0 / 0.5557 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3407, allocations: 3.984 kB / 0.5557 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009049/0.3416, allocations: 0.7428 MB / 0.5564 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.3416, allocations: 4 kB / 0.5564 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.3421, allocations: 107.8 kB / 0.5565 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.3421, allocations: 4 kB / 0.5565 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.3422, allocations: 11.98 kB / 0.5566 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3422, allocations: 0 / 0.5566 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3422, allocations: 4 kB / 0.5566 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3439, allocations: 1.221 MB / 0.5578 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.3441, allocations: 207.8 kB / 0.558 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.3442, allocations: 12.12 kB / 0.558 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.3447, allocations: 47.95 kB / 0.558 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.3448, allocations: 39.89 kB / 0.558 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.3448, allocations: 8 kB / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004962/0.3453, allocations: 491 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3453, allocations: 7.875 kB / 0.5585 GB, free: 2.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008406/0.3462, allocations: 275.1 kB / 0.5588 GB, free: 2.301 MB / 414.1 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.0001165/0.3463, allocations: 111.2 kB / 0.5589 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003581/0.3499, allocations: 1.881 MB / 0.5607 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3499, allocations: 0 / 0.5607 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005479/0.3505, allocations: 279.8 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.3517, allocations: 244.8 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.354, allocations: 1.514 MB / 0.5627 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.3545, allocations: 0.9848 MB / 0.5637 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.3547, allocations: 47.44 kB / 0.5637 GB, free: 13.1 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3547, allocations: 0 / 0.5637 GB, free: 13.1 MB / 430.1 MB Notification: Performance of Templates: time 0.01796/0.3727, allocations: 17.16 MB / 0.5805 GB, free: 11.95 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches