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.001568/0.001568, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001527/0.001527, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2408/0.2408, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.001911/0.001911, allocations: 67.91 kB / 0.4909 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 65.97 MB / 0.5553 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002886/0.1354, allocations: 1.712 MB / 0.557 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1365, allocations: 0.5937 MB / 0.5576 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.1365, allocations: 3.938 kB / 0.5576 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.637e-05/0.1366, allocations: 11.86 kB / 0.5576 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.1367, allocations: 15.81 kB / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.137, allocations: 67.81 kB / 0.5577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1371, allocations: 123.6 kB / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1373, allocations: 33.11 kB / 0.5578 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1374, allocations: 55.77 kB / 0.5579 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1375, allocations: 43.78 kB / 0.5579 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1375, allocations: 12 kB / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.884e-05/0.1376, allocations: 23.98 kB / 0.558 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.1376, allocations: 27.91 kB / 0.558 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.1377, allocations: 47.73 kB / 0.558 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1379, allocations: 123.5 kB / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1379, allocations: 0 / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1379, allocations: 0 / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1379, allocations: 0 / 0.5582 GB, free: 2.977 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.0007162/0.1386, allocations: 430.8 kB / 0.5586 GB, free: 2.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1387, allocations: 8.031 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.1387, allocations: 46.67 kB / 0.5586 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.1389, allocations: 24.88 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1392, allocations: 212.8 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1392, allocations: 384 / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1392, allocations: 19.94 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1394, allocations: 93.64 kB / 0.559 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1395, allocations: 0 / 0.559 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1395, allocations: 0 / 0.559 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1395, allocations: 0 / 0.559 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1396, allocations: 55.91 kB / 0.559 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.1402, allocations: 400.5 kB / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1404, allocations: 62.58 kB / 0.5595 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.651e-05/0.1404, allocations: 16.91 kB / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1404, allocations: 7.984 kB / 0.5595 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.1407, allocations: 103.3 kB / 0.5596 GB, free: 1.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1407, allocations: 0 / 0.5596 GB, free: 1.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003613/0.141, allocations: 133.4 kB / 0.5597 GB, free: 1.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1411, allocations: 51.41 kB / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1412, allocations: 145.8 kB / 0.5599 GB, free: 1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1412, allocations: 29.7 kB / 0.5599 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.1413, allocations: 116.1 kB / 0.56 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1413, allocations: 19.86 kB / 0.5601 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.1414, allocations: 29.7 kB / 0.5601 GB, free: 0.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1415, allocations: 322.8 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.1416, allocations: 27.98 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1417, allocations: 93.33 kB / 0.5605 GB, free: 332 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1419, allocations: 115.6 kB / 0.5606 GB, free: 188 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1419, allocations: 0 / 0.5606 GB, free: 188 kB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002781/0.1422, allocations: 149.3 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1422, allocations: 9.719 kB / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1422, allocations: 0 / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1423, allocations: 8.219 kB / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1424, allocations: 27.98 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1424, allocations: 0 / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.1425, allocations: 15.89 kB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1425, allocations: 4 kB / 0.5608 GB, free: 15.97 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.0001211/0.1426, allocations: 132 kB / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1426, allocations: 11.89 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.1427, allocations: 12.72 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1427, allocations: 4 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1427, allocations: 4 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1427, allocations: 0 / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1429, allocations: 213.5 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1429, allocations: 3.984 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-05/0.143, allocations: 11.94 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.143, allocations: 0 / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.143, allocations: 7.984 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.143, allocations: 3.938 kB / 0.5612 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.143, allocations: 0 / 0.5612 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.1434, allocations: 177.3 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.1434, allocations: 96.95 kB / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1434, allocations: 4 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1435, allocations: 4 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1435, allocations: 3.984 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1436, allocations: 4 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.1436, allocations: 118.2 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1436, allocations: 4.062 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1439, allocations: 20 kB / 0.5616 GB, free: 15.05 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.0006391/0.1445, allocations: 0.7021 MB / 0.5623 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1447, allocations: 75.91 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1447, allocations: 0 / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.1448, allocations: 31.92 kB / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.145, allocations: 15.98 kB / 0.5624 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.147, allocations: 1.701 MB / 0.5641 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1473, allocations: 0.7041 MB / 0.5648 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.787e-05/0.1473, allocations: 20.41 kB / 0.5648 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.1474, allocations: 31.42 kB / 0.5648 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1474, allocations: 0 / 0.5648 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1722, allocations: 2.471 MB / 0.5672 GB, free: 9.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/7.994, allocations: 7.938 kB / 0.5672 GB, free: 9.18 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.278886180996778]