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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 114.8 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 192.6 kB / 20.08 MB, free: 2.852 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.682/1.682, allocations: 207.6 MB / 230.5 MB, free: 3.98 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.3694/0.3694, allocations: 44.23 MB / 326.5 MB, free: 6.789 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 67.91 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.277, allocations: 60.98 MB / 0.5109 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002521/0.2795, allocations: 1.672 MB / 0.5125 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.2804, allocations: 0.5922 MB / 0.5131 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-05/0.2805, allocations: 1.312 kB / 0.5131 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2806, allocations: 13.3 kB / 0.5131 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.2807, allocations: 9.188 kB / 0.5131 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2809, allocations: 58.69 kB / 0.5132 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.2811, allocations: 113.5 kB / 0.5133 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2812, allocations: 25.22 kB / 0.5133 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2813, allocations: 52.28 kB / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2814, allocations: 40.41 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2814, allocations: 9.625 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.2815, allocations: 7.625 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.2815, allocations: 24 kB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.2816, allocations: 52.12 kB / 0.5135 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2817, allocations: 103.1 kB / 0.5136 GB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2817, allocations: 0 / 0.5136 GB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2817, allocations: 0 / 0.5136 GB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2817, allocations: 1.594 kB / 0.5136 GB, free: 11.18 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.0006163/0.2823, allocations: 416.1 kB / 0.514 GB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2824, allocations: 13.77 kB / 0.514 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.2824, allocations: 37.31 kB / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.2824, allocations: 15.09 kB / 0.514 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2826, allocations: 204.8 kB / 0.5142 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2826, allocations: 8.625 kB / 0.5142 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.2827, allocations: 5.5 kB / 0.5143 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.2828, allocations: 101.5 kB / 0.5143 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2829, allocations: 3.984 kB / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2829, allocations: 1.344 kB / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2829, allocations: 1.281 kB / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.283, allocations: 45.16 kB / 0.5144 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.2834, allocations: 371.1 kB / 0.5148 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2835, allocations: 67.7 kB / 0.5148 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.2836, allocations: 25.8 kB / 0.5148 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2836, allocations: 0.9062 kB / 0.5148 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.2838, allocations: 102.8 kB / 0.5149 GB, free: 9.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.2838, allocations: 5.375 kB / 0.5149 GB, free: 9.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003043/0.2841, allocations: 125.9 kB / 0.5151 GB, free: 9.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2841, allocations: 52.78 kB / 0.5151 GB, free: 9.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.2842, allocations: 148.5 kB / 0.5153 GB, free: 9.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2842, allocations: 27.08 kB / 0.5153 GB, free: 9.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.2843, allocations: 104.5 kB / 0.5154 GB, free: 9.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.2843, allocations: 30.48 kB / 0.5154 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.2843, allocations: 36.7 kB / 0.5154 GB, free: 9.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.2844, allocations: 321.6 kB / 0.5158 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.2845, allocations: 25.73 kB / 0.5158 GB, free: 9.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.2845, allocations: 74.97 kB / 0.5158 GB, free: 8.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.2847, allocations: 124.7 kB / 0.516 GB, free: 8.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2847, allocations: 1.375 kB / 0.516 GB, free: 8.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002273/0.2849, allocations: 136.3 kB / 0.5161 GB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2849, allocations: 5.875 kB / 0.5161 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2849, allocations: 6.062 kB / 0.5161 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2849, allocations: 3.75 kB / 0.5161 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2851, allocations: 21.11 kB / 0.5161 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2851, allocations: 15.58 kB / 0.5161 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.2851, allocations: 16.73 kB / 0.5162 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2851, allocations: 5.375 kB / 0.5162 GB, free: 8.746 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.878e-05/0.2852, allocations: 128.8 kB / 0.5163 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2852, allocations: 9.484 kB / 0.5163 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.2853, allocations: 14.3 kB / 0.5163 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2853, allocations: 4.828 kB / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2853, allocations: 5 kB / 0.5163 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2853, allocations: 4 kB / 0.5163 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.2854, allocations: 197.5 kB / 0.5165 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2854, allocations: 0 / 0.5165 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.2855, allocations: 14.09 kB / 0.5165 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2855, allocations: 7.984 kB / 0.5165 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2855, allocations: 1.125 kB / 0.5165 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2855, allocations: 9.188 kB / 0.5165 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2855, allocations: 3.938 kB / 0.5166 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2858, allocations: 177.2 kB / 0.5167 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.2858, allocations: 83.38 kB / 0.5168 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.2858, allocations: 1.188 kB / 0.5168 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.2859, allocations: 6.484 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.2859, allocations: 11.22 kB / 0.5168 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2859, allocations: 7.266 kB / 0.5168 GB, free: 8.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.031e-05/0.286, allocations: 102.9 kB / 0.5169 GB, free: 8.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.286, allocations: 0 / 0.5169 GB, free: 8.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.2862, allocations: 22.66 kB / 0.5169 GB, free: 8.004 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.000422/0.2866, allocations: 0.7052 MB / 0.5176 GB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.2868, allocations: 75.78 kB / 0.5177 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2868, allocations: 4.062 kB / 0.5177 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.2869, allocations: 30.73 kB / 0.5177 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.2871, allocations: 19.61 kB / 0.5178 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.2885, allocations: 1.652 MB / 0.5194 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.2886, allocations: 0.7002 MB / 0.5201 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.2887, allocations: 12.55 kB / 0.5201 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.2887, allocations: 31.42 kB / 0.5201 GB, free: 4.996 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2887, allocations: 0 / 0.5201 GB, free: 4.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.3137, allocations: 2.318 MB / 0.5224 GB, free: 2.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/8.555, allocations: 10.61 kB / 0.5224 GB, free: 2.656 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 & /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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.624389766249806]