Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008981/0.0008981, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009737/0.0009737, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8854/0.8854, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2581/0.2581, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 3.938 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.431e-05, allocations: 2.281 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.1706/0.1706, allocations: 1.667 MB / 443.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.1714, allocations: 0.5562 MB / 444.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.1715, allocations: 4.969 kB / 444.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.17e-05/0.1716, allocations: 14.17 kB / 444.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.1716, allocations: 18.8 kB / 444.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1719, allocations: 67.48 kB / 444.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.172, allocations: 120.2 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1721, allocations: 26.95 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1722, allocations: 72.61 kB / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.1723, allocations: 34.59 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1723, allocations: 11.72 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.33e-05/0.1723, allocations: 21.34 kB / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.1724, allocations: 27.8 kB / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.1724, allocations: 34.48 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1725, allocations: 132.2 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1726, allocations: 3.938 kB / 445 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1726, allocations: 0 / 445 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1726, allocations: 0 / 445 MB, free: 43.19 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.00047/0.173, allocations: 371.4 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1731, allocations: 11.28 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.419e-05/0.1731, allocations: 34.69 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.1732, allocations: 30.81 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1733, allocations: 153.3 kB / 445.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1734, allocations: 5.406 kB / 445.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1734, allocations: 12.58 kB / 445.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.1735, allocations: 102.8 kB / 445.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1735, allocations: 3.234 kB / 445.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1735, allocations: 2.812 kB / 445.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1735, allocations: 0 / 445.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.1736, allocations: 52.02 kB / 445.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.1739, allocations: 339.9 kB / 446 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.174, allocations: 58.72 kB / 446.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.1741, allocations: 28.48 kB / 446.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1741, allocations: 3.125 kB / 446.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.1742, allocations: 101.9 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.1742, allocations: 0 / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000212/0.1744, allocations: 131.8 kB / 446.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.1744, allocations: 55.34 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.1745, allocations: 147.6 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1745, allocations: 34.36 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.1745, allocations: 104.3 kB / 446.7 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1745, allocations: 25.47 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.1746, allocations: 31.77 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.113e-05/0.1746, allocations: 323.4 kB / 447.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.1746, allocations: 27.02 kB / 447.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.923e-05/0.1747, allocations: 93.19 kB / 447.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.1748, allocations: 116.3 kB / 447.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1748, allocations: 0 / 447.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001312/0.1749, allocations: 147.3 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1749, allocations: 5.594 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1749, allocations: 2.594 kB / 447.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1749, allocations: 6.469 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.175, allocations: 23.97 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.175, allocations: 2.844 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.1751, allocations: 23.77 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1751, allocations: 7.188 kB / 447.5 MB, free: 41.43 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 4.977e-05/0.1751, allocations: 135.2 kB / 447.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.1751, allocations: 6.859 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.1751, allocations: 13.25 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1752, allocations: 6.469 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1752, allocations: 0 / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1752, allocations: 0 / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.874e-05/0.1752, allocations: 168.5 kB / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1752, allocations: 0 / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.935e-05/0.1753, allocations: 17.66 kB / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1753, allocations: 4 kB / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1753, allocations: 2.75 kB / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1753, allocations: 6 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1753, allocations: 0 / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1755, allocations: 170.5 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.1755, allocations: 10.7 kB / 448 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1755, allocations: 7.344 kB / 448 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.824e-05/0.1755, allocations: 10.75 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1755, allocations: 6.391 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.1756, allocations: 6.812 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.325e-05/0.1756, allocations: 114.2 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1756, allocations: 0 / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.1757, allocations: 16 kB / 448.2 MB, free: 40.91 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.0002453/0.176, allocations: 0.7151 MB / 448.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1761, allocations: 72.5 kB / 449 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1761, allocations: 3.219 kB / 449 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.1761, allocations: 37.97 kB / 449 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1763, allocations: 16.95 kB / 449 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/0.1772, allocations: 1.667 MB / 450.7 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.1772, allocations: 100.6 kB / 450.8 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.1772, allocations: 15.55 kB / 450.8 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.1773, allocations: 36.53 kB / 450.9 MB, free: 38.72 MB / 410.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1773, allocations: 0 / 450.9 MB, free: 38.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.1931, allocations: 3.196 MB / 454.1 MB, free: 37.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.217, allocations: 2.922 kB / 454.1 MB, free: 37.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_4.1.0_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.287578492425382]