Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002023/0.002023, allocations: 195.8 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009665/0.0009665, allocations: 97.73 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.248e-05/1.25e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4869/0.6223, allocations: 87.24 MB / 0.5896 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.6225, allocations: 64.12 kB / 0.5897 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00558/0.6281, allocations: 1.942 MB / 0.5916 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6281, allocations: 0 / 0.5916 GB, free: 13.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.6281, allocations: 4 kB / 0.5916 GB, free: 13.53 MB / 394.7 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.0004832/0.6286, allocations: 389.8 kB / 0.592 GB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6287, allocations: 12.88 kB / 0.592 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.6289, allocations: 27.8 kB / 0.592 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.6292, allocations: 215.1 kB / 0.5922 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.6292, allocations: 4 kB / 0.5922 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.6292, allocations: 7.906 kB / 0.5922 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001129/0.6294, allocations: 42.17 kB / 0.5923 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.6295, allocations: 83.48 kB / 0.5924 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.6295, allocations: 7.969 kB / 0.5924 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.6296, allocations: 0 / 0.5924 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.6296, allocations: 7.938 kB / 0.5924 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.6302, allocations: 356.7 kB / 0.5927 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.6303, allocations: 50.16 kB / 0.5928 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.6303, allocations: 20.3 kB / 0.5928 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.6304, allocations: 0 / 0.5928 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.6305, allocations: 93.66 kB / 0.5929 GB, free: 12.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.6305, allocations: 0 / 0.5929 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002114/0.6308, allocations: 88.91 kB / 0.5929 GB, free: 12.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.6308, allocations: 58.22 kB / 0.593 GB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.6309, allocations: 129.5 kB / 0.5931 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.631, allocations: 33.52 kB / 0.5932 GB, free: 11.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.631, allocations: 98.84 kB / 0.5933 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.6311, allocations: 34.89 kB / 0.5933 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.6311, allocations: 0 / 0.5933 GB, free: 11.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6312, allocations: 326.6 kB / 0.5936 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.6312, allocations: 14.94 kB / 0.5936 GB, free: 11.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.6313, allocations: 73.73 kB / 0.5937 GB, free: 11.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/0.6314, allocations: 30.73 kB / 0.5937 GB, free: 11.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6314, allocations: 0 / 0.5937 GB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001778/0.6316, allocations: 119.7 kB / 0.5938 GB, free: 11.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6316, allocations: 8.219 kB / 0.5938 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6316, allocations: 4 kB / 0.5938 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6316, allocations: 4 kB / 0.5938 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.6318, allocations: 34.44 kB / 0.5939 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6318, allocations: 0 / 0.5939 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.171e-05/0.6319, allocations: 15.94 kB / 0.5939 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.6319, allocations: 4 kB / 0.5939 GB, free: 11.16 MB / 394.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_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * 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 8.375e-05/0.632, allocations: 114.5 kB / 0.594 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001333/0.6321, allocations: 91.92 kB / 0.5941 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.6321, allocations: 15.81 kB / 0.5941 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.6322, allocations: 19.7 kB / 0.5941 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.6322, allocations: 96 / 0.5941 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6322, allocations: 3.984 kB / 0.5941 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6322, allocations: 0 / 0.5941 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6324, allocations: 179.9 kB / 0.5943 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6324, allocations: 0 / 0.5943 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.937e-05/0.6325, allocations: 19.92 kB / 0.5943 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.6325, allocations: 0 / 0.5943 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6325, allocations: 0 / 0.5943 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6325, allocations: 4 kB / 0.5943 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6325, allocations: 3.953 kB / 0.5943 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.6327, allocations: 145.5 kB / 0.5945 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.6328, allocations: 85 kB / 0.5945 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.6328, allocations: 4 kB / 0.5945 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.6329, allocations: 3.25 kB / 0.5946 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.6329, allocations: 11.94 kB / 0.5946 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.633, allocations: 8.062 kB / 0.5946 GB, free: 10.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.012e-05/0.633, allocations: 108.8 kB / 0.5947 GB, free: 10.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.633, allocations: 0 / 0.5947 GB, free: 10.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.6333, allocations: 27.84 kB / 0.5947 GB, free: 10.32 MB / 394.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_last,rootMeanSquare.mean.y_last) * 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.0004705/0.6337, allocations: 0.6848 MB / 0.5954 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.6339, allocations: 68.92 kB / 0.5954 GB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6339, allocations: 0 / 0.5954 GB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.634, allocations: 23.06 kB / 0.5955 GB, free: 9.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.6341, allocations: 11.67 kB / 0.5955 GB, free: 9.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.6347, allocations: 215.7 kB / 0.5957 GB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.6349, allocations: 0.7123 MB / 0.5964 GB, free: 8.586 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.399e-05/0.635, allocations: 8.547 kB / 0.5964 GB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.6351, allocations: 31.94 kB / 0.5964 GB, free: 8.562 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6351, allocations: 0 / 0.5964 GB, free: 8.562 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.6579, allocations: 1.801 MB / 0.5982 GB, free: 6.773 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.6582, allocations: 125.8 kB / 0.5983 GB, free: 6.582 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.131, allocations: 4 kB / 0.5983 GB, free: 6.578 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat