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.001315/0.001315, allocations: 122 kB / 17.83 MB, free: 5.242 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.001436/0.001436, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.555/1.555, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.3479/0.3479, allocations: 44.23 MB / 327.3 MB, free: 6.707 MB / 254.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="cs",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.003121/0.003121, allocations: 67.91 kB / 462.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2872, allocations: 60.99 MB / 0.5116 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002775/0.29, allocations: 1.666 MB / 0.5133 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.2909, allocations: 0.5848 MB / 0.5138 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.2909, allocations: 5.125 kB / 0.5138 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.834e-05/0.291, allocations: 7.922 kB / 0.5138 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.2911, allocations: 17.95 kB / 0.5139 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.2913, allocations: 59.34 kB / 0.5139 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.2914, allocations: 105 kB / 0.514 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2916, allocations: 28.58 kB / 0.514 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.2917, allocations: 45.97 kB / 0.5141 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.2918, allocations: 51.08 kB / 0.5141 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2918, allocations: 10.12 kB / 0.5141 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.2918, allocations: 8.812 kB / 0.5141 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.2918, allocations: 21.17 kB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.2919, allocations: 45.92 kB / 0.5142 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.292, allocations: 100.7 kB / 0.5143 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.292, allocations: 0 / 0.5143 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.292, allocations: 0 / 0.5143 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.292, allocations: 1.75 kB / 0.5143 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.0006152/0.2926, allocations: 423.4 kB / 0.5147 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2927, allocations: 13.8 kB / 0.5147 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.351e-05/0.2927, allocations: 1.469 kB / 0.5147 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.2927, allocations: 37.41 kB / 0.5148 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.2928, allocations: 14.56 kB / 0.5148 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.2929, allocations: 213.2 kB / 0.515 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.293, allocations: 7.656 kB / 0.515 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.293, allocations: 5.969 kB / 0.515 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2932, allocations: 98.52 kB / 0.5151 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2932, allocations: 0 / 0.5151 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2932, allocations: 5.344 kB / 0.5151 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2932, allocations: 5.359 kB / 0.5151 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.2933, allocations: 49.41 kB / 0.5151 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.2937, allocations: 363.2 kB / 0.5155 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2939, allocations: 68.88 kB / 0.5156 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.2939, allocations: 27.73 kB / 0.5156 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.294, allocations: 2.062 kB / 0.5156 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.2941, allocations: 98.41 kB / 0.5157 GB, free: 9.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.2941, allocations: 0 / 0.5157 GB, free: 9.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003189/0.2944, allocations: 123 kB / 0.5158 GB, free: 9.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.2945, allocations: 56.75 kB / 0.5159 GB, free: 9.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.2945, allocations: 140.2 kB / 0.516 GB, free: 9.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2946, allocations: 34.89 kB / 0.516 GB, free: 9.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.2946, allocations: 97.31 kB / 0.5161 GB, free: 9.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.2946, allocations: 31.86 kB / 0.5161 GB, free: 9.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.2947, allocations: 39.67 kB / 0.5162 GB, free: 9.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.2947, allocations: 321.6 kB / 0.5165 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.2948, allocations: 21.58 kB / 0.5165 GB, free: 9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.2949, allocations: 79.38 kB / 0.5166 GB, free: 8.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.295, allocations: 125 kB / 0.5167 GB, free: 8.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.295, allocations: 0 / 0.5167 GB, free: 8.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002157/0.2952, allocations: 136.5 kB / 0.5168 GB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2952, allocations: 7.25 kB / 0.5168 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2952, allocations: 1.375 kB / 0.5168 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2953, allocations: 4.125 kB / 0.5168 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2954, allocations: 33.95 kB / 0.5169 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2954, allocations: 10.67 kB / 0.5169 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.2954, allocations: 16.02 kB / 0.5169 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2955, allocations: 5.5 kB / 0.5169 GB, free: 8.684 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 6.759e-05/0.2955, allocations: 130 kB / 0.517 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.2955, allocations: 8.078 kB / 0.517 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.2956, allocations: 19.45 kB / 0.5171 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2956, allocations: 3.938 kB / 0.5171 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2956, allocations: 5.375 kB / 0.5171 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2956, allocations: 4.078 kB / 0.5171 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.2957, allocations: 200.8 kB / 0.5173 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2957, allocations: 5.312 kB / 0.5173 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.2958, allocations: 8.25 kB / 0.5173 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2958, allocations: 1.375 kB / 0.5173 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2958, allocations: 9.359 kB / 0.5173 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2958, allocations: 3.938 kB / 0.5173 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2958, allocations: 1.375 kB / 0.5173 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.2961, allocations: 172.2 kB / 0.5175 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.2961, allocations: 83.81 kB / 0.5175 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.2961, allocations: 1.375 kB / 0.5175 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.2962, allocations: 10.67 kB / 0.5175 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.2962, allocations: 6.75 kB / 0.5176 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2962, allocations: 6.734 kB / 0.5176 GB, free: 8.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.505e-05/0.2963, allocations: 104.4 kB / 0.5177 GB, free: 7.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2963, allocations: 1.438 kB / 0.5177 GB, free: 7.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.2965, allocations: 25.69 kB / 0.5177 GB, free: 7.941 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.0004065/0.2969, allocations: 0.7057 MB / 0.5184 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2971, allocations: 86.64 kB / 0.5185 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2971, allocations: 0 / 0.5185 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.2972, allocations: 26.98 kB / 0.5185 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.2973, allocations: 17.98 kB / 0.5185 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2986, allocations: 1.646 MB / 0.5201 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.2987, allocations: 0.7007 MB / 0.5208 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.2988, allocations: 14.05 kB / 0.5208 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.2988, allocations: 31.77 kB / 0.5208 GB, free: 4.992 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2988, allocations: 0 / 0.5208 GB, free: 4.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.177/0.4759, allocations: 2.365 MB / 0.5231 GB, free: 2.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.066/9.542, allocations: 21.59 kB / 0.5232 GB, free: 2.594 MB / 382.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --stepSize=0.0003996 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.851026738004293]