Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002546/0.002546, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 46.97 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2938, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004617/0.2984, allocations: 3.054 MB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.3013, allocations: 1.54 MB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.3016, allocations: 31.75 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.3021, allocations: 150.7 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.3026, allocations: 198.6 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3039, allocations: 0.5612 MB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.3049, allocations: 0.9435 MB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.3052, allocations: 166.9 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.3057, allocations: 382.5 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.3062, allocations: 418.1 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.3063, allocations: 64 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3065, allocations: 68 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.3067, allocations: 207.2 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.307, allocations: 282.3 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008683/0.3078, allocations: 0.8036 MB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3078, allocations: 0 / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3078, allocations: 0 / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3078, allocations: 0 / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002413/0.3102, allocations: 1.1 MB / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3103, allocations: 8.031 kB / 0.5715 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.3106, allocations: 108.3 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.3116, allocations: 0.5247 MB / 0.5721 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.3116, allocations: 41.38 kB / 0.5722 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3117, allocations: 56.31 kB / 0.5722 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.3129, allocations: 0.6689 MB / 0.5729 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.313, allocations: 0 / 0.5729 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.313, allocations: 27.94 kB / 0.5729 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.313, allocations: 12 kB / 0.5729 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3141, allocations: 466.1 kB / 0.5734 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.3177, allocations: 2.406 MB / 0.5757 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3188, allocations: 0.539 MB / 0.5762 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.3194, allocations: 246.4 kB / 0.5765 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.3194, allocations: 4 kB / 0.5765 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3195, allocations: 38.56 kB / 0.5765 GB, free: 4.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.023e-06/0.3195, allocations: 0 / 0.5765 GB, free: 4.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002547/0.322, allocations: 1.169 MB / 0.5777 GB, free: 3.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.3221, allocations: 162.2 kB / 0.5778 GB, free: 3.418 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008682/0.323, allocations: 0.6293 MB / 0.5784 GB, free: 2.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.323, allocations: 37.7 kB / 0.5785 GB, free: 2.734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.3233, allocations: 369.1 kB / 0.5788 GB, free: 2.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.3235, allocations: 178.5 kB / 0.579 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.3237, allocations: 118.3 kB / 0.5791 GB, free: 2.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3239, allocations: 390.7 kB / 0.5795 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.3245, allocations: 267.3 kB / 0.5797 GB, free: 1.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/0.3253, allocations: 499.5 kB / 0.5802 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.3267, allocations: 0.67 MB / 0.5809 GB, free: 124 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3267, allocations: 0 / 0.5809 GB, free: 124 kB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001684/0.3284, allocations: 0.8028 MB / 0.5816 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3284, allocations: 8 kB / 0.5817 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3284, allocations: 4.531 kB / 0.5817 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.3284, allocations: 8 kB / 0.5817 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.3291, allocations: 151.8 kB / 0.5818 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.3291, allocations: 11.94 kB / 0.5818 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.3297, allocations: 91.55 kB / 0.5819 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.3298, allocations: 24 kB / 0.5819 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000795/0.3306, allocations: 417.2 kB / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007588/0.3313, allocations: 472.6 kB / 0.5828 GB, free: 14.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001266/0.3326, allocations: 0.6557 MB / 0.5834 GB, free: 13.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.3326, allocations: 4 kB / 0.5834 GB, free: 13.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001576/0.3342, allocations: 0.7743 MB / 0.5842 GB, free: 12.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3342, allocations: 16.06 kB / 0.5842 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3342, allocations: 7.984 kB / 0.5842 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.3342, allocations: 8 kB / 0.5842 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.3349, allocations: 143.8 kB / 0.5843 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.3349, allocations: 11.98 kB / 0.5844 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.3354, allocations: 75.73 kB / 0.5844 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.3355, allocations: 31.94 kB / 0.5845 GB, free: 12.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0002087/0.3357, allocations: 220 kB / 0.5847 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.3359, allocations: 79.48 kB / 0.5847 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.3361, allocations: 82.09 kB / 0.5848 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.3361, allocations: 3.984 kB / 0.5848 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3361, allocations: 4 kB / 0.5848 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.3363, allocations: 119.3 kB / 0.5849 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.3364, allocations: 12 kB / 0.585 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.337, allocations: 51.94 kB / 0.585 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3372, allocations: 39.92 kB / 0.585 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002743/0.3399, allocations: 1.007 MB / 0.586 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002229/0.3421, allocations: 1.29 MB / 0.5873 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006358/0.3428, allocations: 275.7 kB / 0.5876 GB, free: 9.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006661/0.3434, allocations: 447 kB / 0.588 GB, free: 8.641 MB / 430.1 MB Notification: Performance of Backend: time 5.81e-07/0.3434, allocations: 0 / 0.588 GB, free: 8.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.3456, allocations: 0.7885 MB / 0.5887 GB, free: 7.844 MB / 430.1 MB Notification: Performance of SimCode: time 0.00252/0.3481, allocations: 1.93 MB / 0.5906 GB, free: 5.875 MB / 430.1 MB Notification: Performance of Templates: time 0.02199/0.3701, allocations: 14.03 MB / 0.6043 GB, free: 8.02 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.330935876001604]