Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 197 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.442/1.442, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009164/0.0009165, allocations: 89.25 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.391e-05, allocations: 4 kB / 350.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2921/0.4132, allocations: 77.41 MB / 479.5 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.4134, allocations: 74.89 kB / 479.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002775/0.4162, allocations: 1.126 MB / 480.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4162, allocations: 0 / 480.7 MB, free: 11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.4162, allocations: 4 kB / 480.7 MB, free: 10.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002315/0.4165, allocations: 344.8 kB / 481.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4165, allocations: 16.03 kB / 481.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.4166, allocations: 34.5 kB / 481.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.4167, allocations: 19.27 kB / 481.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.4168, allocations: 178.3 kB / 481.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4168, allocations: 4.609 kB / 481.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.4168, allocations: 4.875 kB / 481.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.417, allocations: 106.2 kB / 481.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.417, allocations: 0.6094 kB / 481.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.4171, allocations: 0 / 481.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4171, allocations: 0 / 481.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.4171, allocations: 11.88 kB / 481.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.473e-05/0.4172, allocations: 157.4 kB / 481.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.4173, allocations: 51.62 kB / 481.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.4173, allocations: 24.77 kB / 481.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.4174, allocations: 0 / 481.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.079e-05/0.4174, allocations: 34.52 kB / 481.7 MB, free: 9.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4174, allocations: 0 / 481.7 MB, free: 9.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001172/0.4175, allocations: 55.23 kB / 481.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.4175, allocations: 51.41 kB / 481.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.4176, allocations: 106.6 kB / 481.9 MB, free: 9.699 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/0.4176, allocations: 29.64 kB / 481.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.732e-05/0.4176, allocations: 84.14 kB / 482 MB, free: 9.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-06/0.4176, allocations: 11.88 kB / 482 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-06/0.4176, allocations: 0 / 482 MB, free: 9.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.4177, allocations: 310.8 kB / 482.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.4177, allocations: 4 kB / 482.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.4177, allocations: 31.88 kB / 482.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.64e-05/0.4177, allocations: 8 kB / 482.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4178, allocations: 0 / 482.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.948e-05/0.4178, allocations: 57.47 kB / 482.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4178, allocations: 7.953 kB / 482.4 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4178, allocations: 5.906 kB / 482.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4179, allocations: 3.062 kB / 482.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.4179, allocations: 12.06 kB / 482.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4179, allocations: 4 kB / 482.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.418, allocations: 0.5 kB / 482.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.418, allocations: 9.344 kB / 482.5 MB, free: 9.121 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.387e-05/0.418, allocations: 101 kB / 482.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.4181, allocations: 58.58 kB / 482.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.4181, allocations: 7.984 kB / 482.6 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4181, allocations: 3.984 kB / 482.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4181, allocations: 4.688 kB / 482.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4182, allocations: 4 kB / 482.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.437e-05/0.4182, allocations: 161 kB / 482.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4182, allocations: 0 / 482.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.4183, allocations: 11.98 kB / 482.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.4183, allocations: 0.5625 kB / 482.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.4183, allocations: 0 / 482.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4183, allocations: 3.953 kB / 482.8 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4183, allocations: 0 / 482.8 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.725e-05/0.4184, allocations: 82.94 kB / 482.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.4185, allocations: 88.94 kB / 483 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.4185, allocations: 0 / 483 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.4185, allocations: 9.781 kB / 483 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-06/0.4185, allocations: 3.953 kB / 483 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4185, allocations: 0 / 483 MB, free: 8.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.121e-05/0.4186, allocations: 95.14 kB / 483.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4186, allocations: 0 / 483.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.4188, allocations: 8 kB / 483.1 MB, free: 8.426 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002596/0.4191, allocations: 0.6065 MB / 483.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.371e-05/0.4191, allocations: 27.67 kB / 483.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4192, allocations: 0 / 483.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.4192, allocations: 4 kB / 483.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.4193, allocations: 17.19 kB / 483.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.4196, allocations: 105.6 kB / 483.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.391e-05/0.4197, allocations: 0.6887 MB / 484.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.186e-05/0.4197, allocations: 3.938 kB / 484.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.4197, allocations: 19.3 kB / 484.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4197, allocations: 0 / 484.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.4306, allocations: 1.082 MB / 485.7 MB, free: 6.035 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001282/0.4307, allocations: 167.9 kB / 485.8 MB, free: 5.812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.923, allocations: 6.5 kB / 485.8 MB, free: 5.809 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat does not exist to compare? outputFormat=mat