Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001332/0.001332, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001885/0.001885, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.501/1.501, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 499.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1369, allocations: 65.43 MB / 0.5517 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00299/0.1399, allocations: 1.697 MB / 0.5534 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1411, allocations: 0.5861 MB / 0.554 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.1411, allocations: 4 kB / 0.554 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.1413, allocations: 11.86 kB / 0.554 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.1413, allocations: 23.75 kB / 0.554 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1416, allocations: 67.8 kB / 0.5541 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1418, allocations: 115.7 kB / 0.5542 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1419, allocations: 29.33 kB / 0.5542 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1421, allocations: 59.77 kB / 0.5543 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1422, allocations: 43.78 kB / 0.5543 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1422, allocations: 16 kB / 0.5543 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.1423, allocations: 12 kB / 0.5543 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.1424, allocations: 39.83 kB / 0.5544 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.1424, allocations: 51.73 kB / 0.5544 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1427, allocations: 123.5 kB / 0.5545 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1427, allocations: 4 kB / 0.5546 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1427, allocations: 0 / 0.5546 GB, free: 7.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1427, allocations: 0 / 0.5546 GB, free: 7.371 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.0007932/0.1435, allocations: 426.9 kB / 0.555 GB, free: 6.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1435, allocations: 8.031 kB / 0.555 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.1435, allocations: 42.73 kB / 0.555 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.1437, allocations: 24.88 kB / 0.555 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.144, allocations: 211.5 kB / 0.5552 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.144, allocations: 8.375 kB / 0.5552 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.144, allocations: 15.94 kB / 0.5553 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1443, allocations: 97.56 kB / 0.5553 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1443, allocations: 8 kB / 0.5554 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1443, allocations: 4 kB / 0.5554 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1443, allocations: 0 / 0.5554 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1445, allocations: 47.97 kB / 0.5554 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.1451, allocations: 392.5 kB / 0.5558 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1452, allocations: 58.53 kB / 0.5558 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.1453, allocations: 24.95 kB / 0.5559 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1453, allocations: 0 / 0.5559 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.1455, allocations: 95.34 kB / 0.556 GB, free: 5.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.1455, allocations: 4 kB / 0.556 GB, free: 5.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003839/0.1459, allocations: 137.4 kB / 0.5561 GB, free: 5.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.146, allocations: 55.41 kB / 0.5561 GB, free: 5.555 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1461, allocations: 149.8 kB / 0.5563 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.1461, allocations: 33.64 kB / 0.5563 GB, free: 5.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.1462, allocations: 112 kB / 0.5564 GB, free: 5.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1463, allocations: 23.8 kB / 0.5564 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.1463, allocations: 29.7 kB / 0.5565 GB, free: 5.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1465, allocations: 326.8 kB / 0.5568 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.1466, allocations: 27.98 kB / 0.5568 GB, free: 4.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1467, allocations: 79.7 kB / 0.5569 GB, free: 4.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.1469, allocations: 119.6 kB / 0.557 GB, free: 4.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1469, allocations: 4 kB / 0.557 GB, free: 4.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002863/0.1472, allocations: 149.3 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1472, allocations: 8 kB / 0.5572 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1472, allocations: 0 / 0.5572 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1472, allocations: 4 kB / 0.5572 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1474, allocations: 23.92 kB / 0.5572 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.1474, allocations: 4.219 kB / 0.5572 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.1475, allocations: 15.89 kB / 0.5572 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1475, allocations: 12 kB / 0.5572 GB, free: 4.359 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.0001194/0.1476, allocations: 134.1 kB / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1476, allocations: 15.97 kB / 0.5574 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1477, allocations: 12.72 kB / 0.5574 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1477, allocations: 0 / 0.5574 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1477, allocations: 0 / 0.5574 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1477, allocations: 0 / 0.5574 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.1479, allocations: 209.6 kB / 0.5576 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1479, allocations: 4 kB / 0.5576 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.148, allocations: 19.92 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.148, allocations: 0 / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.148, allocations: 0 / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.148, allocations: 4 kB / 0.5576 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.148, allocations: 3.984 kB / 0.5576 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.1484, allocations: 173.2 kB / 0.5578 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.1485, allocations: 88.98 kB / 0.5578 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1485, allocations: 4.031 kB / 0.5578 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1486, allocations: 4 kB / 0.5579 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.1486, allocations: 11.92 kB / 0.5579 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1486, allocations: 4 kB / 0.5579 GB, free: 3.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1487, allocations: 114.2 kB / 0.558 GB, free: 3.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1487, allocations: 0 / 0.558 GB, free: 3.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1489, allocations: 19.94 kB / 0.558 GB, free: 3.461 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.0006923/0.1496, allocations: 0.7099 MB / 0.5587 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1499, allocations: 75.83 kB / 0.5588 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1499, allocations: 0.5 kB / 0.5588 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.15, allocations: 35.98 kB / 0.5588 GB, free: 2.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1502, allocations: 11.98 kB / 0.5588 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1522, allocations: 1.711 MB / 0.5605 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.1526, allocations: 0.7041 MB / 0.5612 GB, free: 32 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.1526, allocations: 16.41 kB / 0.5612 GB, free: 16 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.55e-05/0.1527, allocations: 31.48 kB / 0.5612 GB, free: 15.98 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1527, allocations: 0 / 0.5612 GB, free: 15.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.1792, allocations: 2.471 MB / 0.5636 GB, free: 13.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.172, allocations: 8 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.320064282976091]