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.001231/0.001231, allocations: 110.5 kB / 18.45 MB, free: 4.598 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.001237/0.001237, allocations: 187.2 kB / 19.39 MB, free: 3.672 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.262/1.262, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1883/0.1883, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.88 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 60.81 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004548/0.3192, allocations: 4.373 MB / 0.5238 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.322, allocations: 1.544 MB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005533/0.3226, allocations: 35.25 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.323, allocations: 160.4 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.3234, allocations: 178.5 kB / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.3247, allocations: 0.5863 MB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.3258, allocations: 1.031 MB / 0.5273 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005931/0.3264, allocations: 442.3 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.3268, allocations: 362.6 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.3272, allocations: 391.8 kB / 0.5284 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.3274, allocations: 85.84 kB / 0.5285 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3275, allocations: 91.41 kB / 0.5286 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3277, allocations: 200 kB / 0.5288 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.328, allocations: 438.4 kB / 0.5292 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009797/0.329, allocations: 1.036 MB / 0.5302 GB, free: 12.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.329, allocations: 5.656 kB / 0.5302 GB, free: 12.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.329, allocations: 0 / 0.5302 GB, free: 12.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.329, allocations: 0 / 0.5302 GB, free: 12.12 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.001906/0.3309, allocations: 1.319 MB / 0.5315 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.331, allocations: 8.344 kB / 0.5315 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3312, allocations: 124.2 kB / 0.5316 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.3321, allocations: 0.6575 MB / 0.5323 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.3321, allocations: 47.66 kB / 0.5323 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.3322, allocations: 70.7 kB / 0.5324 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.3334, allocations: 0.742 MB / 0.5331 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3334, allocations: 3.938 kB / 0.5331 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.3335, allocations: 22.84 kB / 0.5331 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3335, allocations: 24.25 kB / 0.5332 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.3347, allocations: 0.5426 MB / 0.5337 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.3379, allocations: 2.707 MB / 0.5363 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.3392, allocations: 0.6679 MB / 0.537 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/0.3397, allocations: 281 kB / 0.5373 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.3398, allocations: 5.625 kB / 0.5373 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.3398, allocations: 55.44 kB / 0.5373 GB, free: 6.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=52): time 2.625e-06/0.3398, allocations: 0 / 0.5373 GB, free: 6.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.001751/0.3416, allocations: 0.7951 MB / 0.5381 GB, free: 6.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.3417, allocations: 241.9 kB / 0.5383 GB, free: 6.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007993/0.3425, allocations: 0.7008 MB / 0.539 GB, free: 5.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.3426, allocations: 37.27 kB / 0.539 GB, free: 5.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.3429, allocations: 435 kB / 0.5395 GB, free: 5.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.3431, allocations: 192.3 kB / 0.5396 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.3432, allocations: 111.9 kB / 0.5397 GB, free: 5.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3434, allocations: 323.6 kB / 0.5401 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.3439, allocations: 230.8 kB / 0.5403 GB, free: 4.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.3444, allocations: 368.9 kB / 0.5406 GB, free: 4.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3455, allocations: 0.5555 MB / 0.5412 GB, free: 3.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3455, allocations: 1.469 kB / 0.5412 GB, free: 3.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002499/0.348, allocations: 1.051 MB / 0.5422 GB, free: 3.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.348, allocations: 6.156 kB / 0.5422 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.348, allocations: 6.344 kB / 0.5422 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.3492, allocations: 316.7 kB / 0.5425 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.3497, allocations: 126.9 kB / 0.5426 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/0.3581, allocations: 7.277 MB / 0.5497 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.3588, allocations: 83.58 kB / 0.5498 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.3588, allocations: 19.94 kB / 0.5498 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005947/0.3594, allocations: 349.2 kB / 0.5502 GB, free: 11.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004498/0.3599, allocations: 328.1 kB / 0.5505 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007698/0.3607, allocations: 496.7 kB / 0.551 GB, free: 10.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/0.3607, allocations: 3.938 kB / 0.551 GB, free: 10.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001509/0.3622, allocations: 0.7551 MB / 0.5517 GB, free: 9.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.3622, allocations: 4 kB / 0.5517 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3622, allocations: 4 kB / 0.5517 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/0.3627, allocations: 137.7 kB / 0.5518 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.3634, allocations: 175.8 kB / 0.552 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.3669, allocations: 3.423 MB / 0.5553 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.3674, allocations: 67.7 kB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.3675, allocations: 16 kB / 0.5554 GB, free: 5.809 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.0002423/0.3677, allocations: 220.2 kB / 0.5556 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.368, allocations: 95.39 kB / 0.5557 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3682, allocations: 95.16 kB / 0.5558 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3682, allocations: 3.984 kB / 0.5558 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3682, allocations: 0 / 0.5558 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.3685, allocations: 220.3 kB / 0.556 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.3686, allocations: 19.92 kB / 0.5561 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.3691, allocations: 36.16 kB / 0.5561 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.3692, allocations: 35.89 kB / 0.5561 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001755/0.3709, allocations: 0.9355 MB / 0.557 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001835/0.3728, allocations: 1.314 MB / 0.5583 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005062/0.3733, allocations: 263.8 kB / 0.5586 GB, free: 2.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005679/0.3739, allocations: 483 kB / 0.559 GB, free: 2.082 MB / 414.1 MB Notification: Performance of Backend: time 6.11e-07/0.3739, allocations: 7.938 kB / 0.559 GB, free: 2.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004083/0.378, allocations: 1.763 MB / 0.5608 GB, free: 236 kB / 414.1 MB Notification: Performance of SimCode: time 0.002718/0.3807, allocations: 1.996 MB / 0.5627 GB, free: 14.19 MB / 430.1 MB Notification: Performance of Templates: time 0.02338/0.4041, allocations: 15.08 MB / 0.5774 GB, free: 15.2 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