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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008172/0.0008172, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008808/0.0008808, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8965/0.8965, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2398/0.2398, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.091e-05, allocations: 8.328 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.1982/0.1983, allocations: 1.651 MB / 443.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.1993, allocations: 0.5667 MB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.1993, allocations: 6.75 kB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1995, allocations: 13.89 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.1995, allocations: 15.61 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1998, allocations: 70.09 kB / 444.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.2, allocations: 121.2 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.2001, allocations: 22.81 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.2003, allocations: 72.55 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.2004, allocations: 35.12 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.2005, allocations: 13.14 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.2005, allocations: 20.23 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.2006, allocations: 26.39 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.2006, allocations: 34.8 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2008, allocations: 127.5 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2008, allocations: 2.656 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2008, allocations: 5.406 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2008, allocations: 0 / 444.9 MB, free: 43.14 MB / 410.7 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.000619/0.2014, allocations: 376.9 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2015, allocations: 8.719 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.2015, allocations: 37.38 kB / 445.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.2017, allocations: 31.55 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.2018, allocations: 148.3 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2018, allocations: 9.156 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.2019, allocations: 9.688 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.202, allocations: 104 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.202, allocations: 2.625 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.202, allocations: 0 / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2021, allocations: 3 kB / 445.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.2021, allocations: 46.78 kB / 445.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.2025, allocations: 342.3 kB / 446 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.2026, allocations: 60.61 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.2027, allocations: 22.88 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2027, allocations: 0 / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.2028, allocations: 101.6 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2028, allocations: 0 / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002483/0.2031, allocations: 129.1 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2031, allocations: 62.38 kB / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.2032, allocations: 146.5 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2032, allocations: 31.23 kB / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.2033, allocations: 108.9 kB / 446.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.2033, allocations: 29.22 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2033, allocations: 33.41 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.2033, allocations: 320.6 kB / 447.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.2034, allocations: 27.94 kB / 447.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.2035, allocations: 86.03 kB / 447.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.2036, allocations: 122.8 kB / 447.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2036, allocations: 0 / 447.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001468/0.2037, allocations: 147.7 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2037, allocations: 5.906 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2037, allocations: 5.125 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2037, allocations: 9.469 kB / 447.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.2038, allocations: 20.94 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.2038, allocations: 6.812 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.2039, allocations: 24.77 kB / 447.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2039, allocations: 5.344 kB / 447.5 MB, free: 41.36 MB / 410.7 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 6.594e-05/0.2039, allocations: 129.2 kB / 447.6 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.204, allocations: 9.797 kB / 447.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.204, allocations: 14.7 kB / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.204, allocations: 3.938 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.204, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.204, allocations: 2.656 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.891e-05/0.2041, allocations: 164.5 kB / 447.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2041, allocations: 0 / 447.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.2041, allocations: 18.16 kB / 447.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2041, allocations: 0 / 447.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2042, allocations: 6.719 kB / 447.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2042, allocations: 7.938 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2042, allocations: 0 / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.2044, allocations: 166.8 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.2044, allocations: 21.45 kB / 448 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.2044, allocations: 2.688 kB / 448 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.974e-05/0.2044, allocations: 10.3 kB / 448 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.2045, allocations: 8.828 kB / 448.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2045, allocations: 6.812 kB / 448.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.2045, allocations: 112.6 kB / 448.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2045, allocations: 4.062 kB / 448.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.2047, allocations: 21.81 kB / 448.2 MB, free: 40.82 MB / 410.7 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.0002999/0.205, allocations: 0.7043 MB / 448.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.2051, allocations: 76.98 kB / 449 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2051, allocations: 0 / 449 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.2051, allocations: 31.36 kB / 449 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.2053, allocations: 21.14 kB / 449 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2064, allocations: 1.663 MB / 450.7 MB, free: 38.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.072e-05/0.2064, allocations: 104 kB / 450.8 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.2065, allocations: 9.438 kB / 450.8 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.2065, allocations: 33.61 kB / 450.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2065, allocations: 0 / 450.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.2229, allocations: 3.202 MB / 454 MB, free: 37.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/6.952, allocations: 5.719 kB / 454 MB, free: 37.64 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0003996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.939449772238731]