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.001043/0.001043, allocations: 199.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.23/1.23, allocations: 227.2 MB / 245 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008023/0.0008022, allocations: 103 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002005/0.0002005, allocations: 4 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.19, allocations: 51.49 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08729/0.2773, allocations: 77.33 MB / 486.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.2776, allocations: 79.95 kB / 486.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003053/0.2806, allocations: 1.161 MB / 488.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2807, allocations: 0 / 488.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.2807, allocations: 0 / 488.1 MB, free: 12.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003435/0.281, allocations: 363.2 kB / 488.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2811, allocations: 8.031 kB / 488.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.2811, allocations: 34.56 kB / 488.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.153e-05/0.2812, allocations: 7.906 kB / 488.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2813, allocations: 171 kB / 488.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.2813, allocations: 7.938 kB / 488.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2813, allocations: 7.953 kB / 488.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.2817, allocations: 151.2 kB / 488.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2818, allocations: 4 kB / 488.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.2818, allocations: 0 / 488.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2818, allocations: 0 / 488.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.2819, allocations: 51.95 kB / 488.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.2821, allocations: 157.7 kB / 489 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.2823, allocations: 98.45 kB / 489.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2824, allocations: 8.031 kB / 489.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2824, allocations: 34.52 kB / 489.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2824, allocations: 0 / 489.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000313/0.2827, allocations: 113.7 kB / 489.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2828, allocations: 59.34 kB / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.806e-05/0.2828, allocations: 101 kB / 489.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.2829, allocations: 29.7 kB / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.2829, allocations: 84.14 kB / 489.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-06/0.2829, allocations: 0 / 489.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.2829, allocations: 0 / 489.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.283, allocations: 318.8 kB / 489.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.283, allocations: 8 kB / 489.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.2831, allocations: 23.44 kB / 489.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.053e-05/0.2831, allocations: 11.98 kB / 489.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2831, allocations: 0 / 489.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.953e-05/0.2832, allocations: 57.58 kB / 490 MB, free: 9.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2832, allocations: 4 kB / 490 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2832, allocations: 4 kB / 490 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2832, allocations: 3.953 kB / 490 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.2833, allocations: 11.98 kB / 490 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2833, allocations: 3.938 kB / 490 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.2833, allocations: 4.219 kB / 490 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.2833, allocations: 4 kB / 490 MB, free: 9.922 MB / 362.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 () * Number of clocked 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 6.397e-05/0.2834, allocations: 114 kB / 490.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.2836, allocations: 97.48 kB / 490.2 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.2836, allocations: 3.906 kB / 490.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2836, allocations: 3.953 kB / 490.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2837, allocations: 3.938 kB / 490.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2837, allocations: 4 kB / 490.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.993e-05/0.2838, allocations: 157.7 kB / 490.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2838, allocations: 0 / 490.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.2838, allocations: 23.98 kB / 490.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2839, allocations: 0 / 490.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2839, allocations: 4 kB / 490.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2839, allocations: 0 / 490.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2839, allocations: 3.953 kB / 490.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.2841, allocations: 113.1 kB / 490.5 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.2841, allocations: 81.02 kB / 490.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2842, allocations: 0 / 490.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.2842, allocations: 19.92 kB / 490.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-06/0.2842, allocations: 4 kB / 490.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2842, allocations: 0 / 490.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.2843, allocations: 83.23 kB / 490.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2843, allocations: 0 / 490.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.2845, allocations: 8 kB / 490.7 MB, free: 9.102 MB / 362.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 () * Number of clocked 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.0004366/0.2849, allocations: 0.6437 MB / 491.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.285, allocations: 40.09 kB / 491.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2851, allocations: 4.062 kB / 491.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.2851, allocations: 0 / 491.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.2853, allocations: 38.22 kB / 491.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.286, allocations: 0.8433 MB / 492.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.2862, allocations: 0.6887 MB / 493 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.479e-05/0.2862, allocations: 0 / 493 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.2863, allocations: 18.17 kB / 493 MB, free: 6.719 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2863, allocations: 0 / 493 MB, free: 6.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.2966, allocations: 1.11 MB / 494.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.2968, allocations: 204.3 kB / 494.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/1.672, allocations: 0 / 494.3 MB, free: 5.508 MB / 362.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