Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008554/0.0008554, allocations: 102 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.776e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 51.47 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4702, allocations: 76.61 MB / 471.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.4705, allocations: 71.36 kB / 471.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00287/0.4733, allocations: 1.158 MB / 473.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4734, allocations: 0 / 473.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4734, allocations: 0 / 473.1 MB, free: 13.71 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.0002909/0.4737, allocations: 351.2 kB / 473.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4737, allocations: 12.03 kB / 473.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.4738, allocations: 3.609 kB / 473.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.4739, allocations: 171 kB / 473.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4739, allocations: 4.859 kB / 473.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.474, allocations: 0 / 473.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.7e-05/0.474, allocations: 20.12 kB / 473.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4742, allocations: 99.14 kB / 473.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.4742, allocations: 0 / 473.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.4742, allocations: 0 / 473.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4743, allocations: 3.984 kB / 473.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.94e-05/0.4744, allocations: 136.4 kB / 473.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.4745, allocations: 46.06 kB / 473.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.4745, allocations: 25.16 kB / 474 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.4745, allocations: 0 / 474 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.4745, allocations: 35.17 kB / 474 MB, free: 12.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.4746, allocations: 0 / 474 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001224/0.4747, allocations: 51.88 kB / 474 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.4747, allocations: 52.16 kB / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.4748, allocations: 103.5 kB / 474.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.4748, allocations: 25.7 kB / 474.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.4748, allocations: 84.89 kB / 474.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-06/0.4748, allocations: 3 kB / 474.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.4748, allocations: 0 / 474.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.4749, allocations: 312.6 kB / 474.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.4749, allocations: 7.75 kB / 474.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.811e-05/0.4749, allocations: 31.44 kB / 474.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.448e-05/0.4749, allocations: 6.109 kB / 474.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4749, allocations: 4 kB / 474.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.728e-05/0.475, allocations: 51.3 kB / 474.7 MB, free: 12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.475, allocations: 4.75 kB / 474.7 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.475, allocations: 4 kB / 474.7 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4751, allocations: 4.125 kB / 474.7 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.4751, allocations: 8.703 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4751, allocations: 4.609 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.4751, allocations: 3.469 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.4751, allocations: 4 kB / 474.7 MB, free: 11.98 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.336e-05/0.4752, allocations: 109.6 kB / 474.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.636e-05/0.4753, allocations: 51.34 kB / 474.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.4753, allocations: 4.609 kB / 474.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.4753, allocations: 16.12 kB / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4753, allocations: 4 kB / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4753, allocations: 0.75 kB / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4753, allocations: 0 / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.228e-05/0.4754, allocations: 136.1 kB / 475.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4754, allocations: 3.688 kB / 475.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.4755, allocations: 15.52 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4755, allocations: 0 / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.4755, allocations: 0 / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4755, allocations: 0 / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.4755, allocations: 4.703 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.354e-05/0.4756, allocations: 78.7 kB / 475.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.4756, allocations: 85.86 kB / 475.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.4756, allocations: 0.75 kB / 475.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.4757, allocations: 6.859 kB / 475.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-06/0.4757, allocations: 7.922 kB / 475.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4757, allocations: 7.125 kB / 475.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.306e-05/0.4758, allocations: 91.03 kB / 475.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4758, allocations: 0 / 475.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.4759, allocations: 4.75 kB / 475.4 MB, free: 11.33 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.0002098/0.4762, allocations: 0.6035 MB / 476 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.4762, allocations: 23.33 kB / 476 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4763, allocations: 4.062 kB / 476 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.4763, allocations: 0 / 476 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.4764, allocations: 16.58 kB / 476 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002344/0.4767, allocations: 92.38 kB / 476.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.4768, allocations: 0.6906 MB / 476.8 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.542e-05/0.4768, allocations: 0.75 kB / 476.8 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.4769, allocations: 12.09 kB / 476.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4769, allocations: 6.156 kB / 476.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.4963, allocations: 0.8119 MB / 477.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.4965, allocations: 157.2 kB / 477.8 MB, free: 9.195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.945, allocations: 0 / 477.8 MB, free: 9.195 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat does not exist to compare? outputFormat=mat