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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001705/0.001705, allocations: 180.9 kB / 8.005 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009158/0.0009159, allocations: 86.62 kB / 261.7 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2161/0.2161, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.243e-05, allocations: 0 / 418.3 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5015/0.6254, allocations: 85.09 MB / 0.5491 GB, free: 8.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.6257, allocations: 63.27 kB / 0.5492 GB, free: 8.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00448/0.6301, allocations: 1.667 MB / 0.5508 GB, free: 7.641 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6302, allocations: 4 kB / 0.5508 GB, free: 7.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.6302, allocations: 4 kB / 0.5508 GB, free: 7.633 MB / 362.7 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.0003969/0.6306, allocations: 373.3 kB / 0.5512 GB, free: 7.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.6306, allocations: 12.02 kB / 0.5512 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.6307, allocations: 20.09 kB / 0.5512 GB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.6309, allocations: 202.8 kB / 0.5514 GB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.6309, allocations: 0 / 0.5514 GB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.631, allocations: 8 kB / 0.5514 GB, free: 6.965 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.515e-05/0.6311, allocations: 37.55 kB / 0.5514 GB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.6312, allocations: 79.22 kB / 0.5515 GB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6312, allocations: 3.938 kB / 0.5515 GB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.6312, allocations: 0 / 0.5515 GB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6312, allocations: 4 kB / 0.5515 GB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.6317, allocations: 343.9 kB / 0.5519 GB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.6318, allocations: 58.03 kB / 0.5519 GB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.6318, allocations: 27.17 kB / 0.5519 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.6319, allocations: 0 / 0.5519 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.632, allocations: 93.27 kB / 0.552 GB, free: 6.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.632, allocations: 0 / 0.552 GB, free: 6.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001896/0.6322, allocations: 91.55 kB / 0.5521 GB, free: 6.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.6322, allocations: 55.39 kB / 0.5522 GB, free: 6.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.6323, allocations: 122.2 kB / 0.5523 GB, free: 6.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.6323, allocations: 25.7 kB / 0.5523 GB, free: 6.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.6324, allocations: 103.8 kB / 0.5524 GB, free: 5.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.6324, allocations: 27.47 kB / 0.5524 GB, free: 5.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.6324, allocations: 0 / 0.5524 GB, free: 5.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.6325, allocations: 322.7 kB / 0.5527 GB, free: 5.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.329e-05/0.6325, allocations: 19.62 kB / 0.5528 GB, free: 5.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.6326, allocations: 72.88 kB / 0.5528 GB, free: 5.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.6326, allocations: 33.98 kB / 0.5529 GB, free: 5.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6327, allocations: 0 / 0.5529 GB, free: 5.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000143/0.6328, allocations: 120 kB / 0.553 GB, free: 5.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6328, allocations: 12.03 kB / 0.553 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6328, allocations: 0 / 0.553 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6329, allocations: 4 kB / 0.553 GB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.633, allocations: 27.94 kB / 0.553 GB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.633, allocations: 0 / 0.553 GB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.6331, allocations: 15.92 kB / 0.553 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.6331, allocations: 7.375 kB / 0.553 GB, free: 5.324 MB / 362.7 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 () * 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 6.078e-05/0.6331, allocations: 108.9 kB / 0.5531 GB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001089/0.6333, allocations: 98.73 kB / 0.5532 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.6333, allocations: 11.73 kB / 0.5532 GB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.6333, allocations: 15.7 kB / 0.5533 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6333, allocations: 0 / 0.5533 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.6333, allocations: 0 / 0.5533 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6333, allocations: 0 / 0.5533 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.6334, allocations: 179.8 kB / 0.5534 GB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.6335, allocations: 0 / 0.5534 GB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.938e-05/0.6336, allocations: 12 kB / 0.5534 GB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6336, allocations: 4 kB / 0.5534 GB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6336, allocations: 3.984 kB / 0.5535 GB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6336, allocations: 4 kB / 0.5535 GB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6336, allocations: 3.953 kB / 0.5535 GB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.6338, allocations: 141.2 kB / 0.5536 GB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.6338, allocations: 85.05 kB / 0.5537 GB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.6339, allocations: 7.734 kB / 0.5537 GB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.6339, allocations: 4 kB / 0.5537 GB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.634, allocations: 12 kB / 0.5537 GB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.634, allocations: 7.938 kB / 0.5537 GB, free: 4.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.6341, allocations: 102.5 kB / 0.5538 GB, free: 4.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6341, allocations: 0 / 0.5538 GB, free: 4.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00021/0.6343, allocations: 19.94 kB / 0.5538 GB, free: 4.512 MB / 362.7 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) * 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.0003791/0.6347, allocations: 0.6807 MB / 0.5545 GB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.6348, allocations: 57.52 kB / 0.5545 GB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6348, allocations: 0 / 0.5545 GB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.6349, allocations: 36.56 kB / 0.5546 GB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.635, allocations: 15.2 kB / 0.5546 GB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.6355, allocations: 191.9 kB / 0.5548 GB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.6358, allocations: 0.7162 MB / 0.5555 GB, free: 2.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.732e-05/0.6358, allocations: 8.562 kB / 0.5555 GB, free: 2.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.6359, allocations: 31.3 kB / 0.5555 GB, free: 2.766 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6359, allocations: 0 / 0.5555 GB, free: 2.766 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.6619, allocations: 1.661 MB / 0.5571 GB, free: 1.113 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.6622, allocations: 128.8 kB / 0.5573 GB, free: 0.918 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.279, allocations: 0 / 0.5573 GB, free: 0.918 MB / 362.7 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) 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