Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009705/0.0009706, allocations: 91.09 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.791e-05, allocations: 0 / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.4577, allocations: 77.83 MB / 480 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.458, allocations: 78.3 kB / 480 MB, free: 11.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005563/0.4636, allocations: 2.231 MB / 482.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4636, allocations: 0 / 482.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.4636, allocations: 7.938 kB / 482.3 MB, free: 9.719 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003009/0.4639, allocations: 360.9 kB / 482.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.464, allocations: 8.031 kB / 482.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.464, allocations: 38.86 kB / 482.7 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.4641, allocations: 15.28 kB / 482.7 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4643, allocations: 196 kB / 482.9 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.4643, allocations: 7.609 kB / 482.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4644, allocations: 3.312 kB / 482.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.4646, allocations: 113.8 kB / 483 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4646, allocations: 3.938 kB / 483 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.4646, allocations: 0 / 483 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4646, allocations: 0 / 483 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.4647, allocations: 11.12 kB / 483 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.465, allocations: 296.1 kB / 483.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.465, allocations: 62.39 kB / 483.4 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.4651, allocations: 37.56 kB / 483.4 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4651, allocations: 0 / 483.4 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.4651, allocations: 34.56 kB / 483.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.4651, allocations: 0 / 483.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001592/0.4653, allocations: 56.38 kB / 483.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.4654, allocations: 110.9 kB / 483.6 MB, free: 8.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.4655, allocations: 130.1 kB / 483.7 MB, free: 8.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.4655, allocations: 29.64 kB / 483.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.4655, allocations: 98.97 kB / 483.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.4655, allocations: 0 / 483.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.4655, allocations: 0 / 483.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.4656, allocations: 318.5 kB / 484.2 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.4656, allocations: 4 kB / 484.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.4656, allocations: 39.17 kB / 484.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.4657, allocations: 7.75 kB / 484.2 MB, free: 7.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4657, allocations: 0 / 484.2 MB, free: 7.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.555e-05/0.4657, allocations: 70.69 kB / 484.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4658, allocations: 5.719 kB / 484.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4658, allocations: 0 / 484.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4658, allocations: 4 kB / 484.3 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.4659, allocations: 12.55 kB / 484.3 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4659, allocations: 0 / 484.3 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.4659, allocations: 4 kB / 484.3 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.4659, allocations: 1.484 kB / 484.3 MB, free: 7.508 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.331e-05/0.466, allocations: 116.8 kB / 484.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.4661, allocations: 52.97 kB / 484.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.4661, allocations: 12.56 kB / 484.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4661, allocations: 0 / 484.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4661, allocations: 4 kB / 484.5 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4661, allocations: 0 / 484.5 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.4663, allocations: 175.7 kB / 484.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4663, allocations: 2.375 kB / 484.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.4663, allocations: 8 kB / 484.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4663, allocations: 4.062 kB / 484.7 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4664, allocations: 7.188 kB / 484.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4664, allocations: 0 / 484.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4664, allocations: 0 / 484.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.4665, allocations: 198.5 kB / 484.9 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.4665, allocations: 92.5 kB / 485 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.4666, allocations: 4 kB / 485 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.4666, allocations: 4 kB / 485 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.4667, allocations: 0.8906 kB / 485 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4667, allocations: 3.984 kB / 485 MB, free: 6.762 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.4667, allocations: 120.1 kB / 485.1 MB, free: 6.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4667, allocations: 0 / 485.1 MB, free: 6.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.467, allocations: 14.47 kB / 485.1 MB, free: 6.645 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002999/0.4673, allocations: 0.8616 MB / 486 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.4674, allocations: 31.61 kB / 486 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4674, allocations: 0 / 486 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.479e-05/0.4674, allocations: 0 / 486 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.4676, allocations: 27.52 kB / 486 MB, free: 5.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.468, allocations: 135.2 kB / 486.2 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.4681, allocations: 0.7045 MB / 486.9 MB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.4682, allocations: 6.953 kB / 486.9 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.4682, allocations: 18.61 kB / 486.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4682, allocations: 0 / 486.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.4793, allocations: 1.386 MB / 488.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.4795, allocations: 173.8 kB / 488.4 MB, free: 3.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.4/1.879, allocations: 0 / 488.4 MB, free: 3.414 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat