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.001546/0.001546, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001904/0.001904, allocations: 207.2 kB / 23.73 MB, free: 4.523 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2232/0.2232, allocations: 46.96 MB / 360.9 MB, free: 4.059 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.001956/0.001956, allocations: 63.89 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.307, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002839/0.3099, allocations: 1.668 MB / 0.5622 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.3109, allocations: 0.5465 MB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.3109, allocations: 8 kB / 0.5627 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.306e-05/0.311, allocations: 11.86 kB / 0.5628 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.3111, allocations: 19.8 kB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.3114, allocations: 63.81 kB / 0.5628 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3115, allocations: 119.6 kB / 0.563 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3116, allocations: 23.12 kB / 0.563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.3118, allocations: 59.77 kB / 0.563 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3119, allocations: 59.7 kB / 0.5631 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.3119, allocations: 12 kB / 0.5631 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.312, allocations: 16 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.312, allocations: 27.91 kB / 0.5631 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.3121, allocations: 39.8 kB / 0.5632 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.3123, allocations: 119.5 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3123, allocations: 3.938 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3123, allocations: 0 / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3123, allocations: 0 / 0.5633 GB, free: 1.465 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.0006901/0.313, allocations: 375.4 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.313, allocations: 12.03 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.3131, allocations: 50.67 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.3133, allocations: 24.88 kB / 0.5637 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3135, allocations: 142.9 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3135, allocations: 8.375 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.3135, allocations: 11.94 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.3137, allocations: 89.64 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3137, allocations: 4 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3138, allocations: 11.98 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3138, allocations: 4 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3139, allocations: 55.84 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.3144, allocations: 331.7 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3146, allocations: 62.48 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.3146, allocations: 24.98 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3147, allocations: 0 / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.3149, allocations: 103.3 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3149, allocations: 0 / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003512/0.3152, allocations: 129.5 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3153, allocations: 55.41 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3154, allocations: 148.4 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3154, allocations: 33.7 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.3155, allocations: 112.1 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.3155, allocations: 31.73 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.3156, allocations: 33.72 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3157, allocations: 318.8 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.3158, allocations: 27.98 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3159, allocations: 83.7 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3161, allocations: 119.6 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3161, allocations: 0 / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000257/0.3164, allocations: 153.4 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3164, allocations: 4 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3164, allocations: 4 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3164, allocations: 0 / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3165, allocations: 28.14 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.3165, allocations: 8 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.3166, allocations: 11.95 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3166, allocations: 7.984 kB / 0.5658 GB, free: 14.64 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.0001207/0.3167, allocations: 130.1 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.3167, allocations: 11.89 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.3168, allocations: 12.72 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3168, allocations: 0 / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3168, allocations: 3.938 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3168, allocations: 7.984 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.3169, allocations: 168.7 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.317, allocations: 0 / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.317, allocations: 11.94 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.317, allocations: 4 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3171, allocations: 3.984 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3171, allocations: 0 / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.3171, allocations: 0 / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.3174, allocations: 172.9 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.3174, allocations: 15.92 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3174, allocations: 4 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.3175, allocations: 12 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3175, allocations: 3.984 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3176, allocations: 15.92 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.854e-05/0.3176, allocations: 109 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3176, allocations: 0 / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.3178, allocations: 23.94 kB / 0.5665 GB, free: 13.88 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.0005937/0.3184, allocations: 0.7059 MB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.3187, allocations: 80.03 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3187, allocations: 4 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.3187, allocations: 31.92 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.3189, allocations: 15.98 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3208, allocations: 1.695 MB / 0.569 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.646e-05/0.3209, allocations: 97.67 kB / 0.569 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.252e-05/0.3209, allocations: 8.719 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.321, allocations: 35.42 kB / 0.5691 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.321, allocations: 4 kB / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.3495, allocations: 3.095 MB / 0.5721 GB, free: 8.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.83, allocations: 4 kB / 0.5721 GB, free: 8.055 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: 13.880537758988794]