Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001815, allocations: 132.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.91 MB / 357 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 79.88 kB / 0.491 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1434, allocations: 66.05 MB / 0.5555 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00315/0.1466, allocations: 1.7 MB / 0.5571 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1477, allocations: 0.586 MB / 0.5577 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.1478, allocations: 3.938 kB / 0.5577 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1479, allocations: 15.86 kB / 0.5577 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.1479, allocations: 23.8 kB / 0.5577 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1483, allocations: 63.81 kB / 0.5578 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1484, allocations: 115.7 kB / 0.5579 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1486, allocations: 33.09 kB / 0.5579 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1487, allocations: 55.78 kB / 0.558 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1489, allocations: 47.77 kB / 0.558 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1489, allocations: 12 kB / 0.558 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.1489, allocations: 23.98 kB / 0.5581 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.149, allocations: 27.86 kB / 0.5581 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.1491, allocations: 51.73 kB / 0.5581 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1493, allocations: 127.5 kB / 0.5583 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1493, allocations: 0 / 0.5583 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1493, allocations: 0 / 0.5583 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.1493, allocations: 0 / 0.5583 GB, free: 2.625 MB / 414.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.0007147/0.15, allocations: 422.9 kB / 0.5587 GB, free: 2.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1501, allocations: 12.03 kB / 0.5587 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.1501, allocations: 42.73 kB / 0.5587 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.1503, allocations: 24.88 kB / 0.5587 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1505, allocations: 216.7 kB / 0.559 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1506, allocations: 4.375 kB / 0.559 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1506, allocations: 15.94 kB / 0.559 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.1508, allocations: 89.64 kB / 0.5591 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1508, allocations: 0 / 0.5591 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1508, allocations: 12 kB / 0.5591 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1508, allocations: 0 / 0.5591 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.151, allocations: 47.97 kB / 0.5591 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.1516, allocations: 396.4 kB / 0.5595 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1517, allocations: 58.48 kB / 0.5595 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.1518, allocations: 28.89 kB / 0.5596 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1518, allocations: 4.031 kB / 0.5596 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.152, allocations: 95.34 kB / 0.5597 GB, free: 1.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.152, allocations: 4 kB / 0.5597 GB, free: 1.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003598/0.1524, allocations: 129.5 kB / 0.5598 GB, free: 0.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1524, allocations: 51.41 kB / 0.5598 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1526, allocations: 152.8 kB / 0.56 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1526, allocations: 33.7 kB / 0.56 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.1527, allocations: 112.1 kB / 0.5601 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1527, allocations: 23.84 kB / 0.5602 GB, free: 492 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1528, allocations: 29.7 kB / 0.5602 GB, free: 456 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1529, allocations: 326.8 kB / 0.5605 GB, free: 120 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.153, allocations: 27.98 kB / 0.5605 GB, free: 92 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1531, allocations: 85.47 kB / 0.5606 GB, free: 15.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1533, allocations: 119.6 kB / 0.5607 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1533, allocations: 0 / 0.5607 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000272/0.1536, allocations: 157.3 kB / 0.5609 GB, free: 15.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1536, allocations: 8 kB / 0.5609 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1536, allocations: 0 / 0.5609 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1537, allocations: 4 kB / 0.5609 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1538, allocations: 27.92 kB / 0.5609 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1538, allocations: 0 / 0.5609 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.1538, allocations: 16.17 kB / 0.5609 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1539, allocations: 8 kB / 0.5609 GB, free: 15.61 MB / 430.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.0001126/0.154, allocations: 129.8 kB / 0.561 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.154, allocations: 12.27 kB / 0.5611 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.154, allocations: 12.72 kB / 0.5611 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.154, allocations: 0 / 0.5611 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.154, allocations: 0 / 0.5611 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.154, allocations: 3.938 kB / 0.5611 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.1542, allocations: 205.5 kB / 0.5613 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1542, allocations: 7.984 kB / 0.5613 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/0.1543, allocations: 15.94 kB / 0.5613 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1543, allocations: 0 / 0.5613 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.1544, allocations: 7.984 kB / 0.5613 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1544, allocations: 0 / 0.5613 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1544, allocations: 3.938 kB / 0.5613 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.1547, allocations: 168.9 kB / 0.5615 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1548, allocations: 93.09 kB / 0.5616 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1548, allocations: 0 / 0.5616 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1548, allocations: 12 kB / 0.5616 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.1549, allocations: 3.984 kB / 0.5616 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1549, allocations: 4 kB / 0.5616 GB, free: 14.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.804e-05/0.155, allocations: 111.2 kB / 0.5617 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.155, allocations: 0 / 0.5617 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.1552, allocations: 20 kB / 0.5617 GB, free: 14.72 MB / 430.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.0006479/0.1559, allocations: 0.7099 MB / 0.5624 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1561, allocations: 75.97 kB / 0.5625 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1561, allocations: 0 / 0.5625 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.1562, allocations: 32.48 kB / 0.5625 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.1563, allocations: 15.98 kB / 0.5625 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1583, allocations: 1.71 MB / 0.5642 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1587, allocations: 0.7043 MB / 0.5649 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.1587, allocations: 16.39 kB / 0.5649 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.1588, allocations: 39.42 kB / 0.5649 GB, free: 11.23 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1588, allocations: 0 / 0.5649 GB, free: 11.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.1849, allocations: 2.469 MB / 0.5673 GB, free: 8.828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.059, allocations: 11.72 kB / 0.5673 GB, free: 8.82 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.244394501089118]