Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008868/0.0008868, allocations: 83.69 kB / 20.68 MB, free: 3.883 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.0008972/0.0008972, 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.9036/0.9036, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.735e-05, allocations: 4.672 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001986/0.002003, allocations: 1.664 MB / 441.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.002831, allocations: 0.5608 MB / 441.8 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.002898, allocations: 0 / 441.8 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.553e-05/0.002994, allocations: 19.8 kB / 441.8 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.003041, allocations: 19.8 kB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.003353, allocations: 67.69 kB / 441.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.003501, allocations: 119.6 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.003629, allocations: 21.3 kB / 442 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.003784, allocations: 79.81 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.003882, allocations: 35.88 kB / 442.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.003902, allocations: 8 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.072e-05/0.003953, allocations: 20 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.003985, allocations: 23.91 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.004035, allocations: 35.91 kB / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.004196, allocations: 135.5 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004198, allocations: 0 / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004199, allocations: 0 / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004203, allocations: 0 / 442.4 MB, free: 1.453 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.0005486/0.004752, allocations: 379.4 kB / 442.7 MB, free: 1.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.004789, allocations: 8.031 kB / 442.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.004824, allocations: 38.75 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.004951, allocations: 24.88 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.005127, allocations: 150.2 kB / 442.9 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.005137, allocations: 4.375 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.005158, allocations: 12.38 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.005315, allocations: 101.8 kB / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.005325, allocations: 4 kB / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.005337, allocations: 4 kB / 443.1 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.005342, allocations: 0 / 443.1 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.005428, allocations: 50.92 kB / 443.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.005828, allocations: 343.6 kB / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.236e-05/0.00592, allocations: 62.42 kB / 443.5 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.005959, allocations: 24.98 kB / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.005976, allocations: 4 kB / 443.5 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.006106, allocations: 103.3 kB / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.006107, allocations: 0 / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.1798/0.1859, allocations: 126.9 kB / 443.8 MB, free: 46.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1859, allocations: 57.94 kB / 443.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.186, allocations: 144.3 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.186, allocations: 30.67 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1861, allocations: 105.7 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1861, allocations: 32.64 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.1861, allocations: 30.91 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.194e-05/0.1862, allocations: 322.2 kB / 444.5 MB, free: 45.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.1862, allocations: 27.77 kB / 444.5 MB, free: 45.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.1863, allocations: 81.11 kB / 444.6 MB, free: 45.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1864, allocations: 123.9 kB / 444.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1864, allocations: 0 / 444.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001546/0.1866, allocations: 146.6 kB / 444.8 MB, free: 45.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1866, allocations: 5.781 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1866, allocations: 6.688 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1866, allocations: 2.875 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.1867, allocations: 27.7 kB / 444.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1867, allocations: 2.875 kB / 444.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1868, allocations: 17.28 kB / 444.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1868, allocations: 12.69 kB / 444.9 MB, free: 45.74 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.384e-05/0.1868, allocations: 123.3 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.1868, allocations: 13.61 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.1869, allocations: 13.19 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1869, allocations: 10.91 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1869, allocations: 0 / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1869, allocations: 0 / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.939e-05/0.187, allocations: 173.3 kB / 445.2 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.187, allocations: 3.328 kB / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.187, allocations: 8.906 kB / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.187, allocations: 0 / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1871, allocations: 7.766 kB / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1871, allocations: 0 / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1871, allocations: 0 / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1873, allocations: 179.2 kB / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.1873, allocations: 10.38 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1873, allocations: 3.25 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.1873, allocations: 6.234 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.1873, allocations: 5.859 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1874, allocations: 6.719 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.1874, allocations: 110.2 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1874, allocations: 0 / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000149/0.1875, allocations: 22.27 kB / 445.6 MB, free: 45.3 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.0002602/0.1878, allocations: 0.7104 MB / 446.3 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1879, allocations: 74.44 kB / 446.4 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1879, allocations: 0 / 446.4 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.188, allocations: 34.66 kB / 446.4 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.1881, allocations: 21.41 kB / 446.4 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009851/0.1891, allocations: 1.694 MB / 448.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.518e-05/0.1892, allocations: 90.83 kB / 448.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.1892, allocations: 10.12 kB / 448.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.1893, allocations: 35.59 kB / 448.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1893, allocations: 2.969 kB / 448.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.2037, allocations: 3.2 MB / 451.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/6.975, allocations: 0 / 451.5 MB, free: 42.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_4.0.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.09010811150074]