Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_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.001224/0.001224, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4439/0.4439, allocations: 43.55 MB / 314.5 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005614/0.0005616, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1482, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002357/0.1506, allocations: 1.34 MB / 444.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1519, allocations: 0.5428 MB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.152, allocations: 0 / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1522, allocations: 11.94 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1523, allocations: 15.95 kB / 444.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.1527, allocations: 43.83 kB / 444.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.153, allocations: 63.86 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1532, allocations: 23.97 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.1533, allocations: 35.91 kB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1535, allocations: 43.72 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1536, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.84e-05/0.1536, allocations: 4 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.1537, allocations: 19.91 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.1537, allocations: 37.7 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1539, allocations: 76 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1539, allocations: 0 / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1539, allocations: 4 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1539, allocations: 0 / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008718/0.1548, allocations: 391 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.1549, allocations: 12.02 kB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.849e-05/0.1549, allocations: 42.5 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.155, allocations: 11.86 kB / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1553, allocations: 202.9 kB / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1553, allocations: 4 kB / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1554, allocations: 12 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1556, allocations: 89.64 kB / 445.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1557, allocations: 0 / 445.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1557, allocations: 3.984 kB / 445.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1557, allocations: 7.953 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.1559, allocations: 51.91 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.1565, allocations: 368.6 kB / 446.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1567, allocations: 70.52 kB / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1567, allocations: 0 / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.157, allocations: 95.41 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.427e-06/0.157, allocations: 0 / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00039/0.1574, allocations: 133.5 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1575, allocations: 55.34 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1576, allocations: 141.8 kB / 446.7 MB, free: 9.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1576, allocations: 33.69 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.1577, allocations: 104.3 kB / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.1578, allocations: 27.55 kB / 446.9 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.1578, allocations: 11.94 kB / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.158, allocations: 318.8 kB / 447.2 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.1581, allocations: 27.98 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1582, allocations: 83.66 kB / 447.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.1583, allocations: 47.92 kB / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1583, allocations: 0 / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002743/0.1586, allocations: 141.3 kB / 447.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1586, allocations: 8.219 kB / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1586, allocations: 4 kB / 447.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1587, allocations: 4 kB / 447.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1588, allocations: 27.98 kB / 447.6 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1588, allocations: 7.938 kB / 447.6 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.1589, allocations: 4 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1589, allocations: 7.984 kB / 447.6 MB, free: 8.184 MB / 382.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 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.1591, allocations: 125.8 kB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.1591, allocations: 27.75 kB / 447.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.1591, allocations: 12.72 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1592, allocations: 0 / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1592, allocations: 96 / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1592, allocations: 3.984 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.1594, allocations: 209.7 kB / 448 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1594, allocations: 0 / 448 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.1595, allocations: 19.92 kB / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1595, allocations: 3.953 kB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1595, allocations: 4 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1595, allocations: 4 kB / 448 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1596, allocations: 0 / 448 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1599, allocations: 168.9 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.16, allocations: 85.05 kB / 448.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.16, allocations: 7.953 kB / 448.2 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.1601, allocations: 12.05 kB / 448.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.1601, allocations: 4 kB / 448.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1602, allocations: 3.984 kB / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.73e-05/0.1603, allocations: 107.3 kB / 448.4 MB, free: 7.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1603, allocations: 3.938 kB / 448.4 MB, free: 7.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1605, allocations: 23.91 kB / 448.4 MB, free: 7.281 MB / 382.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,rootMeanSquare.mean.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007046/0.1612, allocations: 0.7061 MB / 449.1 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1615, allocations: 76.22 kB / 449.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1615, allocations: 4.125 kB / 449.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.1616, allocations: 35.92 kB / 449.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.1618, allocations: 19.88 kB / 449.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1632, allocations: 1.731 MB / 451 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1636, allocations: 0.7042 MB / 451.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.881e-05/0.1636, allocations: 12.55 kB / 451.7 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.1637, allocations: 27.42 kB / 451.7 MB, free: 3.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1637, allocations: 0 / 451.7 MB, free: 3.828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.1921, allocations: 1.948 MB / 453.7 MB, free: 1.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.1924, allocations: 165.1 kB / 453.8 MB, free: 1.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.198, allocations: 12 kB / 453.8 MB, free: 1.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat