Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.0009472, allocations: 98.31 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002572/0.0002572, allocations: 4 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2154, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07739/0.2928, allocations: 76.52 MB / 478.1 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.293, allocations: 75.95 kB / 478.2 MB, free: 3.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002616/0.2957, allocations: 1.107 MB / 479.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2957, allocations: 0 / 479.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2957, allocations: 0 / 479.3 MB, free: 2.758 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.0002968/0.296, allocations: 351.2 kB / 479.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.296, allocations: 13.22 kB / 479.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.2961, allocations: 34.56 kB / 479.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.2961, allocations: 15.84 kB / 479.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2962, allocations: 168.3 kB / 479.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.2962, allocations: 4 kB / 479.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.2963, allocations: 8 kB / 479.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.2966, allocations: 151.2 kB / 480 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.2966, allocations: 0 / 480 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.2967, allocations: 4 kB / 480 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2967, allocations: 3.953 kB / 480 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.2968, allocations: 51.89 kB / 480.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.2969, allocations: 161.7 kB / 480.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.2972, allocations: 102.5 kB / 480.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2972, allocations: 0 / 480.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2973, allocations: 34.56 kB / 480.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.2973, allocations: 3.938 kB / 480.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000327/0.2976, allocations: 121.7 kB / 480.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.2976, allocations: 51.41 kB / 480.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.275e-05/0.2977, allocations: 97 kB / 480.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2977, allocations: 25.7 kB / 480.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.2977, allocations: 88.12 kB / 480.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.2978, allocations: 7.938 kB / 480.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.2978, allocations: 4 kB / 480.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.2978, allocations: 318.8 kB / 481.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-06/0.2979, allocations: 0 / 481.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.2979, allocations: 27.42 kB / 481.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.2979, allocations: 16 kB / 481.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2979, allocations: 0 / 481.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.655e-05/0.298, allocations: 53.62 kB / 481.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.298, allocations: 4 kB / 481.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.298, allocations: 0 / 481.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.298, allocations: 4 kB / 481.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/0.2981, allocations: 7.938 kB / 481.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2981, allocations: 0 / 481.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.2981, allocations: 4 kB / 481.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.2981, allocations: 4.125 kB / 481.2 MB, free: 0.6211 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 () * 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 5.634e-05/0.2982, allocations: 117.8 kB / 481.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.2984, allocations: 85.56 kB / 481.4 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.2984, allocations: 7.906 kB / 481.4 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2984, allocations: 12.31 kB / 481.4 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2984, allocations: 3.938 kB / 481.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2984, allocations: 0 / 481.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.202e-05/0.2985, allocations: 157.6 kB / 481.6 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2985, allocations: 3.984 kB / 481.6 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.2986, allocations: 15.98 kB / 481.6 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2986, allocations: 0 / 481.6 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.2986, allocations: 0 / 481.6 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2986, allocations: 3.984 kB / 481.6 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2986, allocations: 0 / 481.6 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.2988, allocations: 113 kB / 481.7 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.2989, allocations: 84.95 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.2989, allocations: 11.94 kB / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.2989, allocations: 15.92 kB / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.2989, allocations: 0 / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.299, allocations: 0 / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.383e-05/0.299, allocations: 87.28 kB / 481.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.299, allocations: 0 / 481.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.2992, allocations: 7.938 kB / 481.9 MB, free: 15.8 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.0003925/0.2996, allocations: 0.6476 MB / 482.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.2997, allocations: 43.91 kB / 482.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2997, allocations: 0 / 482.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.2997, allocations: 0 / 482.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.2999, allocations: 34.94 kB / 482.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.3005, allocations: 0.8408 MB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.3007, allocations: 0.6887 MB / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.3007, allocations: 3.938 kB / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3007, allocations: 11.44 kB / 484.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3008, allocations: 0 / 484.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7467/1.047, allocations: 1.131 MB / 485.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/1.048, allocations: 188.8 kB / 485.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.489, allocations: 0 / 485.5 MB, free: 12.2 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat does not exist to compare? outputFormat=mat