Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001043, allocations: 198.3 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.473/1.473, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008031/0.0008032, allocations: 98.42 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.472e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 51.48 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3191/0.4286, allocations: 76.58 MB / 471.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.4289, allocations: 77.61 kB / 471.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002781/0.4317, allocations: 1.151 MB / 473.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4317, allocations: 3.188 kB / 473.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4317, allocations: 7.938 kB / 473.1 MB, free: 13.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002883/0.432, allocations: 340.7 kB / 473.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4321, allocations: 8.031 kB / 473.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.4321, allocations: 8.688 kB / 473.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.4323, allocations: 193.6 kB / 473.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.4323, allocations: 3.391 kB / 473.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.4323, allocations: 5.219 kB / 473.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.44e-05/0.4324, allocations: 12.38 kB / 473.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.4326, allocations: 111 kB / 473.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4326, allocations: 0 / 473.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.4326, allocations: 0 / 473.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4326, allocations: 0 / 473.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.4329, allocations: 241.1 kB / 474 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.433, allocations: 138.1 kB / 474.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.4331, allocations: 24.27 kB / 474.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4331, allocations: 1.172 kB / 474.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.4331, allocations: 35.81 kB / 474.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4331, allocations: 8 kB / 474.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001412/0.4333, allocations: 52.17 kB / 474.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.4333, allocations: 77.11 kB / 474.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.4334, allocations: 120 kB / 474.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.4334, allocations: 25.7 kB / 474.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.4334, allocations: 85.05 kB / 474.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.4335, allocations: 3.906 kB / 474.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.4335, allocations: 1.688 kB / 474.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.4336, allocations: 324.3 kB / 474.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.4336, allocations: 0 / 474.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.4336, allocations: 26.69 kB / 474.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.784e-05/0.4336, allocations: 5.594 kB / 474.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4336, allocations: 4 kB / 474.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.71e-05/0.4337, allocations: 56.69 kB / 475 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4337, allocations: 13.5 kB / 475 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4338, allocations: 1.25 kB / 475 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4338, allocations: 0 / 475 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.4338, allocations: 9.5 kB / 475 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4338, allocations: 4 kB / 475 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.4339, allocations: 9.203 kB / 475 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4339, allocations: 0 / 475 MB, free: 11.92 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.828e-05/0.434, allocations: 110.2 kB / 475.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.596e-05/0.434, allocations: 60.06 kB / 475.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.4341, allocations: 7.906 kB / 475.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.4341, allocations: 10.92 kB / 475.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4341, allocations: 2.719 kB / 475.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4341, allocations: 0 / 475.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4341, allocations: 0 / 475.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.4343, allocations: 143.9 kB / 475.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4343, allocations: 8.109 kB / 475.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.4343, allocations: 13.48 kB / 475.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.4343, allocations: 3.953 kB / 475.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.4344, allocations: 0 / 475.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4344, allocations: 0.75 kB / 475.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4344, allocations: 0 / 475.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.4345, allocations: 168.8 kB / 475.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.4346, allocations: 105.2 kB / 475.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4346, allocations: 0 / 475.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.4346, allocations: 5.359 kB / 475.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.4347, allocations: 1.172 kB / 475.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4347, allocations: 0 / 475.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.459e-05/0.4347, allocations: 103.5 kB / 475.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4347, allocations: 0 / 475.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.435, allocations: 4 kB / 475.7 MB, free: 11.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003/0.4353, allocations: 0.7644 MB / 476.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.399e-05/0.4354, allocations: 20.67 kB / 476.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4354, allocations: 0 / 476.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.4354, allocations: 8.25 kB / 476.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.4356, allocations: 21.69 kB / 476.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.436, allocations: 123.3 kB / 476.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.4361, allocations: 0.6897 MB / 477.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.743e-05/0.4361, allocations: 7.234 kB / 477.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.4362, allocations: 11.89 kB / 477.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4362, allocations: 4.062 kB / 477.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.4542, allocations: 0.9029 MB / 478.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001263/0.4543, allocations: 148.6 kB / 478.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.9, allocations: 2.297 kB / 478.4 MB, free: 8.785 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat