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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 104.7 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2127/0.2127, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.73 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1307, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00337/0.1342, allocations: 1.656 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1353, allocations: 0.5338 MB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1355, allocations: 8 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.1356, allocations: 7.875 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.1358, allocations: 19.78 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1361, allocations: 59.88 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1363, allocations: 111.6 kB / 471.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1365, allocations: 33.31 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1367, allocations: 51.84 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1368, allocations: 47.77 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1369, allocations: 8 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.485e-05/0.1369, allocations: 12 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.144e-05/0.137, allocations: 27.91 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.137, allocations: 47.73 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1372, allocations: 103.9 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1372, allocations: 4 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1372, allocations: 0 / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1373, allocations: 0 / 472.1 MB, free: 11.52 MB / 350.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.0008029/0.1381, allocations: 419 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1381, allocations: 12.03 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.1382, allocations: 38.73 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1382, allocations: 16.75 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1385, allocations: 196.2 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1385, allocations: 12.36 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.1386, allocations: 8.375 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1388, allocations: 102.5 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1388, allocations: 0 / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1388, allocations: 8 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1389, allocations: 0 / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.139, allocations: 47.97 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.1396, allocations: 388.4 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1397, allocations: 62.62 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.1398, allocations: 20.92 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1399, allocations: 0 / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.1401, allocations: 103.3 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.556e-06/0.1401, allocations: 3.984 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003508/0.1404, allocations: 129.8 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.1405, allocations: 59.34 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1406, allocations: 136.4 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1406, allocations: 33.64 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.1407, allocations: 115.9 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.1407, allocations: 23.7 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.1408, allocations: 33.7 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.141, allocations: 326.8 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.1411, allocations: 19.98 kB / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1412, allocations: 92.44 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1414, allocations: 119.6 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1414, allocations: 3.938 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002552/0.1416, allocations: 137.4 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1417, allocations: 8 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1417, allocations: 0 / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1417, allocations: 12.16 kB / 474.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1418, allocations: 19.98 kB / 474.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1418, allocations: 7.938 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.1419, allocations: 11.89 kB / 474.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1419, allocations: 12 kB / 474.7 MB, free: 8.551 MB / 350.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.0001103/0.1421, allocations: 124.9 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.1421, allocations: 7.906 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.1421, allocations: 12.7 kB / 474.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1422, allocations: 11.94 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1422, allocations: 0 / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1422, allocations: 0 / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1424, allocations: 205.5 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1424, allocations: 0 / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.1425, allocations: 15.94 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1425, allocations: 4 kB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.1425, allocations: 7.984 kB / 475.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1425, allocations: 3.938 kB / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1426, allocations: 0 / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1429, allocations: 168.8 kB / 475.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.143, allocations: 89.05 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.143, allocations: 0 / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1431, allocations: 12.02 kB / 475.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1432, allocations: 11.94 kB / 475.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1432, allocations: 3.984 kB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.08e-05/0.1433, allocations: 105.8 kB / 475.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1433, allocations: 4.062 kB / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1435, allocations: 20 kB / 475.5 MB, free: 7.668 MB / 350.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.0005966/0.1441, allocations: 0.6983 MB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1444, allocations: 91.83 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1444, allocations: 0 / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.1445, allocations: 39.92 kB / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1447, allocations: 15.92 kB / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1466, allocations: 1.641 MB / 478 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1469, allocations: 0.7043 MB / 478.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.1469, allocations: 4.562 kB / 478.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.147, allocations: 39.36 kB / 478.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.147, allocations: 4 kB / 478.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.1681, allocations: 2.261 MB / 481 MB, free: 2.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.834, allocations: 4 kB / 481 MB, free: 2.039 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/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) Reference file matches