Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008466/0.0008465, allocations: 101.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002253/0.000225, allocations: 8 kB / 358 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1839, allocations: 51.47 MB / 409.5 MB, free: 26.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08719/0.2711, allocations: 77.89 MB / 487.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.2714, allocations: 84.91 kB / 487.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003443/0.2748, allocations: 1.415 MB / 488.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2748, allocations: 4 kB / 488.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2749, allocations: 3.219 kB / 488.9 MB, free: 11.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003715/0.2752, allocations: 375 kB / 489.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2753, allocations: 12.03 kB / 489.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.2753, allocations: 34.56 kB / 489.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.2754, allocations: 15.89 kB / 489.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.2755, allocations: 190.8 kB / 489.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2756, allocations: 12 kB / 489.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2756, allocations: 7.953 kB / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.2759, allocations: 160.6 kB / 489.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2759, allocations: 4 kB / 489.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2759, allocations: 4 kB / 489.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2759, allocations: 7.938 kB / 489.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.2761, allocations: 43.91 kB / 489.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.2765, allocations: 373.8 kB / 490.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.2767, allocations: 111.9 kB / 490.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.2767, allocations: 12.03 kB / 490.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2767, allocations: 34.5 kB / 490.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2768, allocations: 0 / 490.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003123/0.2771, allocations: 137.8 kB / 490.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.2771, allocations: 106.8 kB / 490.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.2772, allocations: 127.8 kB / 490.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2773, allocations: 29.7 kB / 490.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.2773, allocations: 88.08 kB / 490.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.2773, allocations: 7.906 kB / 490.7 MB, free: 9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.2773, allocations: 4 kB / 490.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.2774, allocations: 318.8 kB / 491.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.2775, allocations: 24.02 kB / 491.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.2776, allocations: 67.72 kB / 491.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.2776, allocations: 31.89 kB / 491.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2777, allocations: 3.984 kB / 491.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.2778, allocations: 113.4 kB / 491.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2779, allocations: 4 kB / 491.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2779, allocations: 4 kB / 491.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2779, allocations: 4 kB / 491.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.278, allocations: 19.98 kB / 491.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.278, allocations: 4 kB / 491.3 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.278, allocations: 8.281 kB / 491.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.278, allocations: 8 kB / 491.3 MB, free: 8.355 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.065e-05/0.2781, allocations: 129.7 kB / 491.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.2783, allocations: 73.5 kB / 491.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.2783, allocations: 20.7 kB / 491.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2783, allocations: 0 / 491.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2783, allocations: 4 kB / 491.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2783, allocations: 0 / 491.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.2786, allocations: 181.6 kB / 491.7 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2786, allocations: 11.95 kB / 491.8 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.2787, allocations: 27.92 kB / 491.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2787, allocations: 3.938 kB / 491.8 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2787, allocations: 0 / 491.8 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2787, allocations: 4 kB / 491.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2787, allocations: 0 / 491.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.279, allocations: 344.2 kB / 492.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.2791, allocations: 97 kB / 492.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2791, allocations: 3.953 kB / 492.2 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.2792, allocations: 4 kB / 492.2 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.2793, allocations: 11.98 kB / 492.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2793, allocations: 4 kB / 492.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.2794, allocations: 103.3 kB / 492.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2794, allocations: 0 / 492.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.2796, allocations: 8 kB / 492.4 MB, free: 7.223 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0005685/0.2802, allocations: 1.011 MB / 493.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.2804, allocations: 63.84 kB / 493.4 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2804, allocations: 0 / 493.4 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.2804, allocations: 19.98 kB / 493.4 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2808, allocations: 52.77 kB / 493.5 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.2821, allocations: 1.777 MB / 495.3 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2824, allocations: 0.7082 MB / 496 MB, free: 3.445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.447e-05/0.2824, allocations: 4.672 kB / 496 MB, free: 3.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.2825, allocations: 23.42 kB / 496 MB, free: 3.414 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2825, allocations: 3.938 kB / 496 MB, free: 3.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.2941, allocations: 1.574 MB / 497.6 MB, free: 1.973 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.2943, allocations: 184 kB / 497.8 MB, free: 1.734 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/1.854, allocations: 0 / 497.8 MB, free: 1.734 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat