Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState.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.001301/0.001301, allocations: 106.8 kB / 21.2 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.001432/0.001432, allocations: 219.5 kB / 24.49 MB, free: 3.93 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.218/0.218, allocations: 46.95 MB / 361.6 MB, free: 4.043 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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.91 kB / 0.4974 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.285, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004842/0.2899, allocations: 3.091 MB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.2928, allocations: 1.54 MB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.293, allocations: 31.75 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.2935, allocations: 146.7 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.294, allocations: 198.6 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2953, allocations: 0.5683 MB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.2964, allocations: 0.9397 MB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.2967, allocations: 170.9 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.2972, allocations: 378.5 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.2978, allocations: 418.1 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.2979, allocations: 68 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.298, allocations: 68 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.2983, allocations: 215.2 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.2985, allocations: 270.3 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.2994, allocations: 0.8008 MB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2994, allocations: 0 / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2994, allocations: 0 / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.2994, allocations: 0 / 0.5705 GB, free: 11.26 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.002501/0.3019, allocations: 1.1 MB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.302, allocations: 12.03 kB / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.3022, allocations: 104.3 kB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3033, allocations: 0.5285 MB / 0.5722 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.3033, allocations: 45.31 kB / 0.5722 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3035, allocations: 52.38 kB / 0.5723 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3047, allocations: 0.665 MB / 0.5729 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.3047, allocations: 4 kB / 0.5729 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.3048, allocations: 24 kB / 0.573 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3048, allocations: 12 kB / 0.573 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.3059, allocations: 466.1 kB / 0.5734 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.3097, allocations: 2.406 MB / 0.5758 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.3109, allocations: 0.5389 MB / 0.5763 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.3115, allocations: 242.4 kB / 0.5765 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.3116, allocations: 4 kB / 0.5765 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3116, allocations: 38.56 kB / 0.5766 GB, free: 4.781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.3116, allocations: 4 kB / 0.5766 GB, free: 4.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002657/0.3142, allocations: 1.169 MB / 0.5777 GB, free: 3.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.3143, allocations: 158.2 kB / 0.5779 GB, free: 3.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.3153, allocations: 0.6332 MB / 0.5785 GB, free: 2.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.3153, allocations: 37.7 kB / 0.5785 GB, free: 2.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.3156, allocations: 369.1 kB / 0.5789 GB, free: 2.359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.3158, allocations: 182.5 kB / 0.579 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.316, allocations: 114.3 kB / 0.5791 GB, free: 2.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3162, allocations: 390.7 kB / 0.5795 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.3169, allocations: 275.3 kB / 0.5798 GB, free: 1.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.3177, allocations: 490.2 kB / 0.5802 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.3191, allocations: 0.6757 MB / 0.5809 GB, free: 104 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3191, allocations: 4 kB / 0.5809 GB, free: 100 kB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001746/0.3208, allocations: 0.8029 MB / 0.5817 GB, free: 15.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3209, allocations: 8.094 kB / 0.5817 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3209, allocations: 4 kB / 0.5817 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3209, allocations: 8 kB / 0.5817 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.3216, allocations: 151.8 kB / 0.5819 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.3216, allocations: 11.94 kB / 0.5819 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.3222, allocations: 91.61 kB / 0.582 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.3223, allocations: 24 kB / 0.582 GB, free: 15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000813/0.3231, allocations: 417.2 kB / 0.5824 GB, free: 14.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007692/0.3238, allocations: 476.6 kB / 0.5828 GB, free: 14.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001284/0.3251, allocations: 0.653 MB / 0.5835 GB, free: 13.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3251, allocations: 0 / 0.5835 GB, free: 13.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001629/0.3268, allocations: 0.7885 MB / 0.5842 GB, free: 12.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3268, allocations: 4 kB / 0.5842 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3268, allocations: 8 kB / 0.5843 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.3268, allocations: 4 kB / 0.5843 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.3274, allocations: 143.8 kB / 0.5844 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.3275, allocations: 11.94 kB / 0.5844 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.328, allocations: 76.03 kB / 0.5845 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.3281, allocations: 31.94 kB / 0.5845 GB, free: 12.26 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.0002206/0.3283, allocations: 216.1 kB / 0.5847 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.3285, allocations: 79.48 kB / 0.5848 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.3287, allocations: 82.09 kB / 0.5849 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3287, allocations: 7.984 kB / 0.5849 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3287, allocations: 0 / 0.5849 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.329, allocations: 123.3 kB / 0.585 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.3291, allocations: 12 kB / 0.585 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.3297, allocations: 51.94 kB / 0.5851 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3298, allocations: 39.92 kB / 0.5851 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002817/0.3326, allocations: 1.007 MB / 0.5861 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002291/0.3349, allocations: 1.283 MB / 0.5873 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006552/0.3356, allocations: 275.7 kB / 0.5876 GB, free: 9.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006931/0.3363, allocations: 447 kB / 0.588 GB, free: 8.633 MB / 430.1 MB Notification: Performance of Backend: time 4.91e-07/0.3363, allocations: 0 / 0.588 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.3385, allocations: 0.7948 MB / 0.5888 GB, free: 7.832 MB / 430.1 MB Notification: Performance of SimCode: time 0.002686/0.3412, allocations: 1.92 MB / 0.5907 GB, free: 5.863 MB / 430.1 MB Notification: Performance of Templates: time 0.02351/0.3647, allocations: 14.04 MB / 0.6044 GB, free: 8.004 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialState.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.181745698995655]