Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007375/0.0007375, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008632/0.0008632, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9079/0.9079, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1307/0.1307, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.25e-05, allocations: 5.516 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002072/0.002095, allocations: 1.629 MB / 408.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000712/0.002807, allocations: 0.5539 MB / 409 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.002871, allocations: 3.938 kB / 409 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.108e-05/0.002963, allocations: 7.922 kB / 409 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.003005, allocations: 23.81 kB / 409 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.003268, allocations: 59.73 kB / 409.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.003406, allocations: 103.7 kB / 409.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.003523, allocations: 23.97 kB / 409.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.00363, allocations: 67.75 kB / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.00372, allocations: 31.89 kB / 409.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.003745, allocations: 12 kB / 409.3 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.003759, allocations: 8 kB / 409.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.003798, allocations: 27.91 kB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.003843, allocations: 31.91 kB / 409.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.003977, allocations: 107.7 kB / 409.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.003982, allocations: 3.984 kB / 409.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.003984, allocations: 0 / 409.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003988, allocations: 0 / 409.5 MB, free: 10.82 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005405/0.004528, allocations: 347.6 kB / 409.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.004565, allocations: 16.02 kB / 409.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.004596, allocations: 34.75 kB / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.004628, allocations: 12.89 kB / 409.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.004794, allocations: 164 kB / 410.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.004807, allocations: 8.375 kB / 410.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.004826, allocations: 12.31 kB / 410.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.004978, allocations: 90.19 kB / 410.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.004988, allocations: 4.188 kB / 410.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.005, allocations: 4.125 kB / 410.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005005, allocations: 0 / 410.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.005089, allocations: 51.95 kB / 410.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.00548, allocations: 319.7 kB / 410.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.005579, allocations: 54.59 kB / 410.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.005618, allocations: 24.95 kB / 410.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.005635, allocations: 0 / 410.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.005776, allocations: 103.3 kB / 410.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005777, allocations: 0 / 410.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002383/0.006015, allocations: 129.5 kB / 410.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.006049, allocations: 59.41 kB / 410.9 MB, free: 9.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.006132, allocations: 133.8 kB / 411.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.006148, allocations: 29.7 kB / 411.1 MB, free: 9.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.006199, allocations: 100.4 kB / 411.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.006223, allocations: 31.73 kB / 411.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.006262, allocations: 29.72 kB / 411.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.006341, allocations: 326.8 kB / 411.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.006386, allocations: 23.98 kB / 411.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.006454, allocations: 91.64 kB / 411.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.006569, allocations: 115.6 kB / 411.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.006571, allocations: 4 kB / 411.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001556/0.006727, allocations: 141.5 kB / 411.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.006741, allocations: 8 kB / 411.9 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.006746, allocations: 0 / 411.9 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.006759, allocations: 4.375 kB / 411.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.006839, allocations: 27.98 kB / 412 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.006846, allocations: 3.938 kB / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.006887, allocations: 15.89 kB / 412 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.006895, allocations: 15.81 kB / 412 MB, free: 8.086 MB / 346.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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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 7.569e-05/0.006971, allocations: 130 kB / 412.1 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.006982, allocations: 8.047 kB / 412.1 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.007015, allocations: 20.77 kB / 412.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007017, allocations: 0 / 412.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.007022, allocations: 0 / 412.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007025, allocations: 0 / 412.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.007135, allocations: 164.6 kB / 412.3 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007136, allocations: 0 / 412.3 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.007189, allocations: 15.92 kB / 412.3 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007191, allocations: 4 kB / 412.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.007201, allocations: 4 kB / 412.3 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007202, allocations: 4 kB / 412.3 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007203, allocations: 0 / 412.3 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.007418, allocations: 172.9 kB / 412.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.007432, allocations: 11.88 kB / 412.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.007448, allocations: 8 kB / 412.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.741e-05/0.007476, allocations: 0 / 412.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.007509, allocations: 7.984 kB / 412.5 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.007517, allocations: 8 kB / 412.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.007566, allocations: 110.2 kB / 412.7 MB, free: 7.359 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007566, allocations: 4.062 kB / 412.7 MB, free: 7.355 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.007716, allocations: 19.94 kB / 412.7 MB, free: 7.336 MB / 346.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,rootMeanSquare.mean.y) * 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.00038/0.008096, allocations: 0.6944 MB / 413.4 MB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.008237, allocations: 79.95 kB / 413.4 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008239, allocations: 0 / 413.4 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.167e-05/0.00829, allocations: 36.42 kB / 413.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.008444, allocations: 15.95 kB / 413.5 MB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.00963, allocations: 1.639 MB / 415.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.74e-05/0.009688, allocations: 88.31 kB / 415.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.801e-05/0.009726, allocations: 20.34 kB / 415.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.009777, allocations: 28.48 kB / 415.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009778, allocations: 0 / 415.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.02456, allocations: 3.029 MB / 418.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7, allocations: 11.92 kB / 418.3 MB, free: 1.523 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_3.2.3_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.107012616470456]