Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.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.0018/0.0018, allocations: 113.7 kB / 17.13 MB, free: 5.918 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.002153/0.002153, allocations: 211.2 kB / 20.1 MB, free: 2.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3942/0.3942, allocations: 44.23 MB / 326.6 MB, free: 6.84 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 79.88 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3218, allocations: 60.99 MB / 0.5109 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00276/0.3245, allocations: 1.672 MB / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.3254, allocations: 0.5793 MB / 0.5131 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.3255, allocations: 5.031 kB / 0.5131 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3256, allocations: 17.02 kB / 0.5131 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.3257, allocations: 17.05 kB / 0.5132 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.326, allocations: 54.72 kB / 0.5132 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3262, allocations: 102.4 kB / 0.5133 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.3263, allocations: 31.86 kB / 0.5133 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3264, allocations: 45.56 kB / 0.5134 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3265, allocations: 48.42 kB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3266, allocations: 9.656 kB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.197e-05/0.3266, allocations: 11.72 kB / 0.5135 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.3266, allocations: 20.27 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.3267, allocations: 47.11 kB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3269, allocations: 108.6 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3269, allocations: 0 / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3269, allocations: 0 / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3269, allocations: 0 / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008072/0.3277, allocations: 413.2 kB / 0.514 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3277, allocations: 18.42 kB / 0.514 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.3278, allocations: 40.52 kB / 0.5141 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.3278, allocations: 14.19 kB / 0.5141 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.328, allocations: 207.4 kB / 0.5143 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.328, allocations: 6.5 kB / 0.5143 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3281, allocations: 6.562 kB / 0.5143 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.3283, allocations: 96.48 kB / 0.5144 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3283, allocations: 6.859 kB / 0.5144 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3283, allocations: 4 kB / 0.5144 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3283, allocations: 2.781 kB / 0.5144 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3285, allocations: 44.97 kB / 0.5144 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.329, allocations: 365.9 kB / 0.5148 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3291, allocations: 57.27 kB / 0.5148 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.764e-05/0.3292, allocations: 31.28 kB / 0.5149 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3292, allocations: 5.031 kB / 0.5149 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.3294, allocations: 98.81 kB / 0.515 GB, free: 9.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3294, allocations: 9.219 kB / 0.515 GB, free: 9.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003522/0.3297, allocations: 124.9 kB / 0.5151 GB, free: 9.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3298, allocations: 54.34 kB / 0.5152 GB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3299, allocations: 142.8 kB / 0.5153 GB, free: 9.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3299, allocations: 31 kB / 0.5153 GB, free: 9.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.3299, allocations: 101.1 kB / 0.5154 GB, free: 9.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.33, allocations: 31.7 kB / 0.5155 GB, free: 9.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.33, allocations: 31.52 kB / 0.5155 GB, free: 9.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.3301, allocations: 322.5 kB / 0.5158 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.3302, allocations: 29.3 kB / 0.5158 GB, free: 9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.804e-05/0.3302, allocations: 83.22 kB / 0.5159 GB, free: 8.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3304, allocations: 117 kB / 0.516 GB, free: 8.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3304, allocations: 0 / 0.516 GB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002365/0.3306, allocations: 144.9 kB / 0.5161 GB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3307, allocations: 5.844 kB / 0.5162 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3307, allocations: 1.781 kB / 0.5162 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3307, allocations: 3.469 kB / 0.5162 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3308, allocations: 22.52 kB / 0.5162 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3308, allocations: 5.75 kB / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.3309, allocations: 21.62 kB / 0.5162 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3309, allocations: 9.938 kB / 0.5162 GB, free: 8.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.653e-05/0.331, allocations: 125.6 kB / 0.5163 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.331, allocations: 7.266 kB / 0.5163 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.331, allocations: 16.11 kB / 0.5164 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.331, allocations: 3.984 kB / 0.5164 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.331, allocations: 5.688 kB / 0.5164 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.331, allocations: 0 / 0.5164 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3312, allocations: 201 kB / 0.5166 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3312, allocations: 0 / 0.5166 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.3312, allocations: 21.47 kB / 0.5166 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3312, allocations: 0 / 0.5166 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3313, allocations: 10.2 kB / 0.5166 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3313, allocations: 384 / 0.5166 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3313, allocations: 4.906 kB / 0.5166 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.3316, allocations: 176.1 kB / 0.5168 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.3316, allocations: 84.16 kB / 0.5168 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3316, allocations: 5.312 kB / 0.5168 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.3317, allocations: 2.375 kB / 0.5168 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.3317, allocations: 15.86 kB / 0.5169 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3317, allocations: 2.812 kB / 0.5169 GB, free: 8.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.957e-05/0.3318, allocations: 106.4 kB / 0.517 GB, free: 7.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3318, allocations: 0 / 0.517 GB, free: 7.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.332, allocations: 22.97 kB / 0.517 GB, free: 7.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004813/0.3325, allocations: 0.7005 MB / 0.5177 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3327, allocations: 78.45 kB / 0.5177 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3327, allocations: 1.375 kB / 0.5177 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.3328, allocations: 30.3 kB / 0.5178 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.333, allocations: 19.47 kB / 0.5178 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3346, allocations: 1.654 MB / 0.5194 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.3347, allocations: 0.6996 MB / 0.5201 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.885e-05/0.3348, allocations: 11.61 kB / 0.5201 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.3348, allocations: 31.42 kB / 0.5201 GB, free: 4.996 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3348, allocations: 0 / 0.5201 GB, free: 4.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.3608, allocations: 2.326 MB / 0.5224 GB, free: 2.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.472, allocations: 1.75 kB / 0.5224 GB, free: 2.66 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0003996 ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mean1.y in file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.794776638998883]