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.0019/0.0019, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002167/0.002167, allocations: 210.5 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.2302/0.2302, allocations: 46.94 MB / 360.9 MB, free: 4.27 MB / 286.1 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 0.002021/0.002021, allocations: 63.89 kB / 0.4961 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3531, allocations: 66.05 MB / 0.5606 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003411/0.3565, allocations: 1.71 MB / 0.5623 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3578, allocations: 0.5932 MB / 0.5629 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.3579, allocations: 8 kB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.3581, allocations: 15.8 kB / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.3581, allocations: 15.8 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.3585, allocations: 67.86 kB / 0.563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.3587, allocations: 115.6 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.3589, allocations: 27.12 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.3591, allocations: 59.77 kB / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3592, allocations: 47.77 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.3592, allocations: 16 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-05/0.3593, allocations: 20 kB / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.3594, allocations: 27.91 kB / 0.5633 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.23e-05/0.3594, allocations: 47.73 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.3597, allocations: 127.5 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3597, allocations: 3.938 kB / 0.5635 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3597, allocations: 0 / 0.5635 GB, free: 1.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3597, allocations: 0 / 0.5635 GB, free: 1.59 MB / 398.1 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.0009509/0.3607, allocations: 375.5 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3607, allocations: 12.03 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.3608, allocations: 38.73 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.361, allocations: 24.88 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3613, allocations: 148.6 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3613, allocations: 8.375 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.3613, allocations: 15.94 kB / 0.5641 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.3616, allocations: 97.52 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3616, allocations: 4 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.3616, allocations: 7.984 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.3616, allocations: 4 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.3618, allocations: 43.97 kB / 0.5642 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.3624, allocations: 359.6 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3626, allocations: 62.58 kB / 0.5646 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/0.3627, allocations: 24.95 kB / 0.5646 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3627, allocations: 4 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3629, allocations: 99.28 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.3629, allocations: 4 kB / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003503/0.3633, allocations: 129.4 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3633, allocations: 55.41 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3635, allocations: 152.2 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3635, allocations: 29.7 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.3636, allocations: 104.2 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.3636, allocations: 31.75 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3637, allocations: 37.7 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3638, allocations: 318.8 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.3639, allocations: 27.98 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.364, allocations: 83.64 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.3642, allocations: 123.6 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3642, allocations: 4 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000257/0.3645, allocations: 149.3 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3645, allocations: 4 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3645, allocations: 4 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3645, allocations: 0 / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3646, allocations: 24.36 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3646, allocations: 8.219 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.342e-05/0.3647, allocations: 11.89 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3647, allocations: 4 kB / 0.566 GB, free: 14.76 MB / 414.1 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 0.0001426/0.3649, allocations: 137.7 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.3649, allocations: 11.89 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.3649, allocations: 12.72 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3649, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.365, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.365, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.3652, allocations: 180.7 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3652, allocations: 3.984 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3653, allocations: 19.88 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3653, allocations: 4 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.3653, allocations: 3.984 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3653, allocations: 0 / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3653, allocations: 0 / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.3657, allocations: 172.9 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.3657, allocations: 15.86 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.3657, allocations: 4 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.3658, allocations: 8 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.3659, allocations: 7.984 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3659, allocations: 3.984 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.366, allocations: 107.3 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.366, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3663, allocations: 23.94 kB / 0.5667 GB, free: 13.98 MB / 414.1 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.0006914/0.3669, allocations: 0.714 MB / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.3672, allocations: 68.47 kB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.3672, allocations: 4.062 kB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.3673, allocations: 35.92 kB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3675, allocations: 18.73 kB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.3696, allocations: 1.7 MB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.37, allocations: 0.7047 MB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.582e-05/0.37, allocations: 16.34 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.3701, allocations: 39.36 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3701, allocations: 0 / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.3992, allocations: 2.624 MB / 0.5725 GB, free: 7.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.39, allocations: 11.34 kB / 0.5725 GB, free: 7.988 MB / 414.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 14.547861863000435]