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.001733/0.001733, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002158/0.002158, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2507/0.2507, allocations: 46.95 MB / 360.9 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 179] 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.00202/0.00202, allocations: 63.91 kB / 0.4961 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3465, allocations: 66.04 MB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003188/0.3497, allocations: 1.649 MB / 0.5622 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3508, allocations: 0.5698 MB / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3509, allocations: 0 / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.351, allocations: 7.875 kB / 0.5628 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.3511, allocations: 19.8 kB / 0.5628 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.3514, allocations: 67.81 kB / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3515, allocations: 119.7 kB / 0.563 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3517, allocations: 23.12 kB / 0.563 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.3518, allocations: 63.72 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3519, allocations: 43.77 kB / 0.5631 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.352, allocations: 8 kB / 0.5631 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.352, allocations: 16 kB / 0.5631 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.3521, allocations: 23.92 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.3521, allocations: 47.72 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3524, allocations: 119.5 kB / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3524, allocations: 11.94 kB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3524, allocations: 0 / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3524, allocations: 0 / 0.5633 GB, free: 1.488 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.0007715/0.3531, allocations: 375.4 kB / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3532, allocations: 12.03 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.3532, allocations: 34.75 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.3534, allocations: 24.88 kB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.3537, allocations: 165.8 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3537, allocations: 8.375 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3537, allocations: 11.94 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3539, allocations: 89.64 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.354, allocations: 0 / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.354, allocations: 4 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.354, allocations: 4 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.3541, allocations: 43.97 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006593/0.3548, allocations: 343.6 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3549, allocations: 62.58 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.355, allocations: 24.88 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.355, allocations: 4 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.3552, allocations: 99.34 kB / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3552, allocations: 0 / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003826/0.3556, allocations: 141.4 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.3557, allocations: 55.41 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3558, allocations: 141.8 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.3559, allocations: 25.7 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.3559, allocations: 120 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.356, allocations: 27.73 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.356, allocations: 33.7 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3562, allocations: 322.8 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/0.3563, allocations: 27.92 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3564, allocations: 86.81 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.3566, allocations: 123.6 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3566, allocations: 0 / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002785/0.3569, allocations: 145.4 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3569, allocations: 4 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3569, allocations: 4 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3569, allocations: 4 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3571, allocations: 23.92 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3571, allocations: 7.984 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.3571, allocations: 15.94 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3572, allocations: 8 kB / 0.5658 GB, free: 14.67 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.0001298/0.3573, allocations: 130 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3573, allocations: 15.83 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.3573, allocations: 12.7 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3574, allocations: 4 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3574, allocations: 0 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3574, allocations: 0 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3575, allocations: 164.7 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3575, allocations: 7.938 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.3576, allocations: 11.98 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3576, allocations: 0 / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3577, allocations: 8 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3577, allocations: 4 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3577, allocations: 0 / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.358, allocations: 177.2 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.3581, allocations: 11.92 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3581, allocations: 96 / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.3582, allocations: 7.984 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3582, allocations: 15.97 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3582, allocations: 3.938 kB / 0.5663 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.3583, allocations: 109 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3583, allocations: 4.062 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.3585, allocations: 27.92 kB / 0.5665 GB, free: 13.89 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.0007048/0.3592, allocations: 0.7099 MB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.3595, allocations: 71.89 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3595, allocations: 0 / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.3595, allocations: 36.42 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.3598, allocations: 12 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.3619, allocations: 1.702 MB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.362, allocations: 101.7 kB / 0.5691 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.1e-05/0.3621, allocations: 8.5 kB / 0.5691 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.3622, allocations: 31.42 kB / 0.5691 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3622, allocations: 0 / 0.5691 GB, free: 11.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.3975, allocations: 3.043 MB / 0.5721 GB, free: 8.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.39, allocations: 15.09 kB / 0.5721 GB, free: 8.125 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --stepSize=0.0003996 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.356296246405691]