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.001318/0.001318, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.00109/0.00109, allocations: 160.9 kB / 23.95 MB, free: 0.6016 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.9285/0.9285, allocations: 177 MB / 204.1 MB, free: 5.734 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.2697/0.2697, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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.452e-06/1.452e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.599e-05, allocations: 4.953 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.192/0.192, allocations: 1.66 MB / 443.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.1928, allocations: 0.5621 MB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.1928, allocations: 2.812 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.156e-05/0.1929, allocations: 11.16 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.193, allocations: 22.06 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1932, allocations: 65.39 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1933, allocations: 126.8 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1934, allocations: 18.41 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1936, allocations: 74.36 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.1937, allocations: 39.97 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1937, allocations: 10.31 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.1937, allocations: 22.86 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.1938, allocations: 26.98 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.1938, allocations: 33.5 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.194, allocations: 123.8 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.194, allocations: 0.5625 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.194, allocations: 3.938 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.194, allocations: 0.7188 kB / 444.9 MB, free: 43.13 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.0005673/0.1945, allocations: 372.9 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1946, allocations: 11.66 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.1946, allocations: 49.03 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.1948, allocations: 24.94 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1949, allocations: 153.7 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1949, allocations: 7.031 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1949, allocations: 5.906 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1951, allocations: 105 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1951, allocations: 0 / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1951, allocations: 0.5156 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1951, allocations: 3.094 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.1952, allocations: 54.73 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.1956, allocations: 336 kB / 446 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.478e-05/0.1957, allocations: 57.36 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.1957, allocations: 27.5 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1957, allocations: 3.062 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.1959, allocations: 102 kB / 446.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.1959, allocations: 0 / 446.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000224/0.1961, allocations: 123.1 kB / 446.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.1961, allocations: 58.31 kB / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.1962, allocations: 152 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1962, allocations: 28.55 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.1962, allocations: 111.3 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1962, allocations: 31.33 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.1963, allocations: 30.19 kB / 446.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.1963, allocations: 323.8 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.1963, allocations: 26.42 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.131e-05/0.1964, allocations: 86.77 kB / 447.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.239e-05/0.1965, allocations: 125.2 kB / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1965, allocations: 0 / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001338/0.1966, allocations: 144.6 kB / 447.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1966, allocations: 9.906 kB / 447.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1966, allocations: 2.906 kB / 447.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1966, allocations: 6.719 kB / 447.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.1967, allocations: 28.73 kB / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1967, allocations: 2.875 kB / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.1968, allocations: 16.97 kB / 447.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1968, allocations: 5.375 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 5.595e-05/0.1968, allocations: 126.7 kB / 447.6 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.1968, allocations: 6.891 kB / 447.6 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.1969, allocations: 20.58 kB / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1969, allocations: 6.531 kB / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1969, allocations: 0 / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1969, allocations: 0 / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.265e-05/0.1969, allocations: 167.3 kB / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1969, allocations: 0 / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.197, allocations: 15.27 kB / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.197, allocations: 2.906 kB / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.197, allocations: 0 / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.197, allocations: 3.938 kB / 447.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.197, allocations: 8.188 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.1972, allocations: 172.4 kB / 448 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.1972, allocations: 14.64 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1972, allocations: 6.172 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.233e-05/0.1972, allocations: 10.56 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1973, allocations: 10.22 kB / 448.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1973, allocations: 2.906 kB / 448.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.555e-05/0.1973, allocations: 119.8 kB / 448.2 MB, free: 40.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1973, allocations: 0 / 448.2 MB, free: 40.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.1975, allocations: 22.38 kB / 448.2 MB, free: 40.83 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.0002466/0.1977, allocations: 0.7077 MB / 448.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1978, allocations: 76.17 kB / 449 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1978, allocations: 0 / 449 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.1979, allocations: 32.58 kB / 449 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.198, allocations: 15.23 kB / 449 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.199, allocations: 1.668 MB / 450.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.199, allocations: 93.09 kB / 450.8 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.199, allocations: 13.47 kB / 450.8 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.1991, allocations: 33.53 kB / 450.8 MB, free: 38.64 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1991, allocations: 2.906 kB / 450.8 MB, free: 38.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.2138, allocations: 3.186 MB / 454 MB, free: 37.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.387, allocations: 13.91 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv","/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] "Error: Could not read variable mean1.y in file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,mean1.x,rootMeanSquare.mean.x,mean1.y,rootMeanSquare.mean.y Variables in the result:time,mean1.x,rootMeanSquare.mean.x [Calling sys.exit(0), Time elapsed: 9.589554701000452]