Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001655, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00209/0.00209, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003123/0.003123, allocations: 83.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.37, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002997/0.373, allocations: 1.696 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3741, allocations: 0.5787 MB / 0.5328 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.3742, allocations: 1.719 kB / 0.5328 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.3743, allocations: 15.86 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.3744, allocations: 18.55 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.3747, allocations: 63.88 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3748, allocations: 117.6 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.375, allocations: 43.36 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3751, allocations: 51.58 kB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3753, allocations: 56.34 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.3753, allocations: 10.75 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.3754, allocations: 19 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.3754, allocations: 32.81 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.3755, allocations: 52.19 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3757, allocations: 118 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3757, allocations: 3.984 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3757, allocations: 1.375 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3757, allocations: 0 / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007127/0.3764, allocations: 426.7 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3765, allocations: 9.625 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.3765, allocations: 41.48 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.3767, allocations: 28 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.377, allocations: 215.8 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.377, allocations: 4.5 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.377, allocations: 13.44 kB / 0.5341 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3773, allocations: 95.89 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3773, allocations: 0 / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3773, allocations: 1.375 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3773, allocations: 1.375 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.3775, allocations: 55.41 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.378, allocations: 387.5 kB / 0.5346 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3782, allocations: 59.25 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.3783, allocations: 29.27 kB / 0.5347 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3783, allocations: 0 / 0.5347 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.3785, allocations: 108.1 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3785, allocations: 0 / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003462/0.3789, allocations: 130.4 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3789, allocations: 54.03 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3791, allocations: 145.3 kB / 0.5351 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3791, allocations: 35.11 kB / 0.5352 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.3792, allocations: 113 kB / 0.5353 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.3792, allocations: 23.89 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.3793, allocations: 43.61 kB / 0.5353 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3794, allocations: 321.6 kB / 0.5357 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.3795, allocations: 27.08 kB / 0.5357 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3796, allocations: 85.38 kB / 0.5358 GB, free: 8.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3798, allocations: 121.2 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3798, allocations: 1.156 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002501/0.3801, allocations: 144.3 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3801, allocations: 10.86 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3801, allocations: 2.312 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3801, allocations: 2.406 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3803, allocations: 33.67 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3803, allocations: 3.5 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.3804, allocations: 8.703 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3804, allocations: 9.5 kB / 0.5361 GB, free: 8.676 MB / 398.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_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * 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 0.0001153/0.3805, allocations: 129.8 kB / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3805, allocations: 16.41 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.3806, allocations: 10.97 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3806, allocations: 5.219 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3806, allocations: 1.188 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3806, allocations: 0 / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3808, allocations: 203.3 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3808, allocations: 1.156 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.3809, allocations: 16.61 kB / 0.5365 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3809, allocations: 0.9688 kB / 0.5365 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3809, allocations: 5.125 kB / 0.5365 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.3809, allocations: 1.344 kB / 0.5365 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3809, allocations: 0 / 0.5365 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.3813, allocations: 168.4 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.3814, allocations: 96.36 kB / 0.5367 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3814, allocations: 1.406 kB / 0.5367 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.3814, allocations: 2.875 kB / 0.5367 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3815, allocations: 19.02 kB / 0.5367 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3815, allocations: 2.938 kB / 0.5367 GB, free: 8.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.152e-05/0.3816, allocations: 112.6 kB / 0.5368 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3816, allocations: 4.062 kB / 0.5368 GB, free: 7.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.3818, allocations: 20.59 kB / 0.5369 GB, free: 7.938 MB / 398.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_last,rootMeanSquare.mean.y_last) * 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.0006216/0.3824, allocations: 0.7044 MB / 0.5376 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3827, allocations: 84.2 kB / 0.5376 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3827, allocations: 1.344 kB / 0.5376 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.3828, allocations: 32.61 kB / 0.5377 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.383, allocations: 13.06 kB / 0.5377 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.3849, allocations: 1.694 MB / 0.5393 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3853, allocations: 0.7062 MB / 0.54 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.3854, allocations: 15.11 kB / 0.54 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.3854, allocations: 33.48 kB / 0.5401 GB, free: 4.957 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3854, allocations: 1.062 kB / 0.5401 GB, free: 4.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.4103, allocations: 2.464 MB / 0.5425 GB, free: 3.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.127, allocations: 12.81 kB / 0.5425 GB, free: 3.641 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches