Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 116 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 213.7 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2781/0.2781, allocations: 46.88 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Blocks.Continuous") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 75.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2818, allocations: 65.99 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004928/0.2868, allocations: 3.387 MB / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.2898, allocations: 1.61 MB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.2901, allocations: 19.88 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.2906, allocations: 146.7 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004615/0.2911, allocations: 194.6 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2922, allocations: 0.5413 MB / 0.567 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2933, allocations: 0.9124 MB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.2936, allocations: 174.3 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.2941, allocations: 366.5 kB / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.2947, allocations: 418 kB / 0.5688 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.884e-05/0.2948, allocations: 64 kB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.2949, allocations: 64 kB / 0.5689 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.2951, allocations: 207.2 kB / 0.5691 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.2954, allocations: 345.8 kB / 0.5694 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00088/0.2963, allocations: 0.7893 MB / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2963, allocations: 0 / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2963, allocations: 0 / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.2963, allocations: 0 / 0.5702 GB, free: 11.77 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.002431/0.2988, allocations: 1.187 MB / 0.5713 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2988, allocations: 8.922 kB / 0.5713 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.2991, allocations: 108.3 kB / 0.5714 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3001, allocations: 0.5903 MB / 0.572 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.3002, allocations: 37.38 kB / 0.5721 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.3002, allocations: 52.38 kB / 0.5721 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.3014, allocations: 0.6224 MB / 0.5727 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3015, allocations: 0 / 0.5727 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.3015, allocations: 16 kB / 0.5727 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.3015, allocations: 12 kB / 0.5727 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.3027, allocations: 465.8 kB / 0.5732 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.3066, allocations: 2.655 MB / 0.5758 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.3078, allocations: 0.5389 MB / 0.5763 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.3084, allocations: 238.4 kB / 0.5765 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.3084, allocations: 11.98 kB / 0.5765 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.3085, allocations: 38.56 kB / 0.5766 GB, free: 4.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.3085, allocations: 0 / 0.5766 GB, free: 4.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002719/0.3112, allocations: 1.157 MB / 0.5777 GB, free: 3.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.3113, allocations: 166.2 kB / 0.5779 GB, free: 3.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000958/0.3123, allocations: 0.6528 MB / 0.5785 GB, free: 2.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.3123, allocations: 37.7 kB / 0.5785 GB, free: 2.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.3126, allocations: 364.5 kB / 0.5789 GB, free: 2.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.3128, allocations: 178.5 kB / 0.5791 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.313, allocations: 122.3 kB / 0.5792 GB, free: 2.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3132, allocations: 333.9 kB / 0.5795 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006912/0.3139, allocations: 271.3 kB / 0.5798 GB, free: 1.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/0.3147, allocations: 437.4 kB / 0.5802 GB, free: 1.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.3161, allocations: 0.6817 MB / 0.5808 GB, free: 344 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3161, allocations: 8 kB / 0.5808 GB, free: 336 kB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001777/0.3179, allocations: 0.7949 MB / 0.5816 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3179, allocations: 10.5 kB / 0.5816 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3179, allocations: 4.531 kB / 0.5816 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3179, allocations: 12 kB / 0.5816 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.3186, allocations: 151.8 kB / 0.5818 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.3187, allocations: 11.94 kB / 0.5818 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.3192, allocations: 83.61 kB / 0.5819 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.3193, allocations: 24 kB / 0.5819 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008232/0.3201, allocations: 409.3 kB / 0.5823 GB, free: 14.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007661/0.3209, allocations: 429.2 kB / 0.5827 GB, free: 14.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001314/0.3222, allocations: 0.6452 MB / 0.5833 GB, free: 13.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.3222, allocations: 0 / 0.5833 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001639/0.3238, allocations: 0.7783 MB / 0.5841 GB, free: 12.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3238, allocations: 8 kB / 0.5841 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3238, allocations: 4 kB / 0.5841 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3239, allocations: 12 kB / 0.5841 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.3245, allocations: 139.8 kB / 0.5843 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.3245, allocations: 15.92 kB / 0.5843 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.3251, allocations: 83.66 kB / 0.5843 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.3251, allocations: 24 kB / 0.5844 GB, free: 12.58 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.0002069/0.3253, allocations: 216 kB / 0.5846 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3255, allocations: 75.53 kB / 0.5846 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.3257, allocations: 94.2 kB / 0.5847 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3257, allocations: 3.984 kB / 0.5847 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3257, allocations: 3.938 kB / 0.5847 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.326, allocations: 196.5 kB / 0.5849 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/0.3261, allocations: 20 kB / 0.585 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.3266, allocations: 43.94 kB / 0.585 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3268, allocations: 39.94 kB / 0.585 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002827/0.3296, allocations: 1.019 MB / 0.586 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002319/0.3319, allocations: 1.28 MB / 0.5873 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006635/0.3326, allocations: 283.6 kB / 0.5875 GB, free: 9.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007036/0.3333, allocations: 455 kB / 0.588 GB, free: 8.828 MB / 430.1 MB Notification: Performance of Backend: time 1.81e-07/0.3333, allocations: 0 / 0.588 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.3355, allocations: 0.7927 MB / 0.5888 GB, free: 8.031 MB / 430.1 MB Notification: Performance of SimCode: time 0.002711/0.3382, allocations: 1.953 MB / 0.5907 GB, free: 6.035 MB / 430.1 MB Notification: Performance of Templates: time 0.02137/0.3596, allocations: 12.3 MB / 0.6027 GB, free: 9.789 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.314172192942351]