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.0009281/0.000928, allocations: 96.86 kB / 15.7 MB, free: 468 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.00085/0.0008499, allocations: 171.3 kB / 16.57 MB, free: 6.047 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.596/1.596, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.4032/0.4032, allocations: 43.55 MB / 314.6 MB, free: 8.773 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.000486/0.0004861, allocations: 18.97 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002171/0.1269, allocations: 1.351 MB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.128, allocations: 0.5428 MB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1281, allocations: 3.938 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.874e-05/0.1282, allocations: 7.938 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.1283, allocations: 7.922 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1286, allocations: 47.89 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1287, allocations: 91.7 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1289, allocations: 31.95 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.129, allocations: 31.86 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1291, allocations: 35.83 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1292, allocations: 4 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.1292, allocations: 4 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.1292, allocations: 15.92 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.1293, allocations: 45.58 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1294, allocations: 72.06 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1294, allocations: 0 / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1294, allocations: 4 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1294, allocations: 4 kB / 445.2 MB, free: 10.64 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.0006966/0.1302, allocations: 387 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1302, allocations: 8.031 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.1303, allocations: 42.55 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.1303, allocations: 11.86 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1306, allocations: 206.8 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1306, allocations: 8 kB / 445.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1306, allocations: 11.98 kB / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1309, allocations: 85.64 kB / 445.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1309, allocations: 0 / 445.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1309, allocations: 11.98 kB / 445.9 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.1309, allocations: 3.953 kB / 445.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1311, allocations: 51.97 kB / 446 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.1316, allocations: 364.5 kB / 446.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1318, allocations: 74.45 kB / 446.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.1319, allocations: 28.98 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1319, allocations: 4 kB / 446.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1321, allocations: 95.34 kB / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1321, allocations: 4 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000336/0.1325, allocations: 129.5 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1325, allocations: 55.41 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1326, allocations: 134 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1327, allocations: 29.7 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.1327, allocations: 104.2 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1328, allocations: 39.97 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.1328, allocations: 0 / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1329, allocations: 318.8 kB / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.133, allocations: 31.92 kB / 447.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1331, allocations: 91.58 kB / 447.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.472e-05/0.1332, allocations: 35.98 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1332, allocations: 4 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002424/0.1334, allocations: 145.3 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1335, allocations: 7.281 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1335, allocations: 4 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1335, allocations: 7.938 kB / 447.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1336, allocations: 23.98 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1336, allocations: 224 / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.1337, allocations: 15.98 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1337, allocations: 8 kB / 447.7 MB, free: 7.855 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.0001063/0.1339, allocations: 129.7 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1339, allocations: 19.86 kB / 447.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.1339, allocations: 20.69 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1339, allocations: 0 / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1339, allocations: 0 / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.134, allocations: 4 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1341, allocations: 201.5 kB / 448.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1341, allocations: 0 / 448.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.081e-05/0.1342, allocations: 12 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1342, allocations: 3.953 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1343, allocations: 3.984 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1343, allocations: 0 / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1343, allocations: 7.938 kB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.1346, allocations: 176.9 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1347, allocations: 81.02 kB / 448.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1347, allocations: 11.98 kB / 448.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.1348, allocations: 0 / 448.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.1348, allocations: 7.984 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1348, allocations: 4 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.1349, allocations: 111.3 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1349, allocations: 0 / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1351, allocations: 23.91 kB / 448.5 MB, free: 6.961 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.0005789/0.1357, allocations: 0.7061 MB / 449.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1359, allocations: 79.83 kB / 449.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1359, allocations: 0 / 449.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.136, allocations: 39.92 kB / 449.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1363, allocations: 16.25 kB / 449.3 MB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1374, allocations: 0.7588 MB / 450.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1377, allocations: 0.7042 MB / 450.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.1377, allocations: 4.562 kB / 450.8 MB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.1378, allocations: 31.42 kB / 450.8 MB, free: 4.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1378, allocations: 4 kB / 450.8 MB, free: 4.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.1492, allocations: 2.016 MB / 452.8 MB, free: 2.508 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.1494, allocations: 169.7 kB / 453 MB, free: 2.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.794, allocations: 3.938 kB / 453 MB, free: 2.266 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