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.001182/0.001182, allocations: 174.2 kB / 13.63 MB, free: 1.684 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.313/1.313, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.0008513, allocations: 94.03 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.503e-05, allocations: 0 / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 50.41 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.302/0.4148, allocations: 76.46 MB / 470.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4151, allocations: 71.95 kB / 470.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00285/0.4179, allocations: 1.091 MB / 472 MB, free: 9.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.418, allocations: 2.625 kB / 472 MB, free: 9.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.418, allocations: 0 / 472 MB, free: 9.855 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.000328/0.4183, allocations: 347.3 kB / 472.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4184, allocations: 12.03 kB / 472.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.4184, allocations: 34.5 kB / 472.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.4184, allocations: 7.859 kB / 472.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.4186, allocations: 179 kB / 472.5 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.4186, allocations: 0 / 472.5 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.4186, allocations: 4 kB / 472.5 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.4189, allocations: 108 kB / 472.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.4189, allocations: 0 / 472.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.4189, allocations: 0 / 472.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4189, allocations: 3.953 kB / 472.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.4189, allocations: 19.92 kB / 472.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.4191, allocations: 157.7 kB / 472.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.4192, allocations: 50.61 kB / 472.9 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.4192, allocations: 16.86 kB / 472.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4193, allocations: 4.125 kB / 472.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.4193, allocations: 34.56 kB / 472.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4193, allocations: 0 / 472.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001373/0.4194, allocations: 49.64 kB / 473 MB, free: 8.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4195, allocations: 63.39 kB / 473 MB, free: 8.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.4195, allocations: 104.9 kB / 473.1 MB, free: 8.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.4196, allocations: 29.64 kB / 473.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.4196, allocations: 88.08 kB / 473.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/0.4196, allocations: 0 / 473.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.4196, allocations: 0 / 473.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.4197, allocations: 322.8 kB / 473.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.4197, allocations: 0 / 473.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.4198, allocations: 31.44 kB / 473.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.795e-05/0.4198, allocations: 11.94 kB / 473.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4198, allocations: 0 / 473.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.31e-05/0.4199, allocations: 57.53 kB / 473.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4199, allocations: 4.125 kB / 473.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.4199, allocations: 4 kB / 473.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4199, allocations: 6.312 kB / 473.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.42, allocations: 4 kB / 473.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.42, allocations: 4 kB / 473.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.42, allocations: 3.984 kB / 473.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.42, allocations: 3.953 kB / 473.7 MB, free: 7.891 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 5.228e-05/0.4201, allocations: 108.9 kB / 473.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.4202, allocations: 49.7 kB / 473.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.4202, allocations: 8.016 kB / 473.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4202, allocations: 4 kB / 473.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4202, allocations: 0 / 473.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4202, allocations: 0 / 473.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.503e-05/0.4203, allocations: 165.6 kB / 474 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4203, allocations: 0 / 474 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.4204, allocations: 12 kB / 474 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4204, allocations: 3.984 kB / 474 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.4204, allocations: 4 kB / 474 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4204, allocations: 0 / 474 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4204, allocations: 4 kB / 474 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.62e-05/0.4205, allocations: 85.11 kB / 474.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.4206, allocations: 77.16 kB / 474.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.4206, allocations: 8.859 kB / 474.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.4207, allocations: 7.984 kB / 474.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.141e-06/0.4207, allocations: 0 / 474.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4207, allocations: 4 kB / 474.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.4207, allocations: 91.22 kB / 474.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4207, allocations: 0 / 474.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.4209, allocations: 4 kB / 474.3 MB, free: 7.168 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.0003027/0.4212, allocations: 0.6201 MB / 474.9 MB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.4213, allocations: 24.05 kB / 475 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4213, allocations: 0 / 475 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.4213, allocations: 0 / 475 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.4215, allocations: 27.81 kB / 475 MB, free: 6.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.4218, allocations: 98.61 kB / 475.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.422, allocations: 0.6848 MB / 475.8 MB, free: 5.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.778e-05/0.422, allocations: 4 kB / 475.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.422, allocations: 15.62 kB / 475.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.422, allocations: 0 / 475.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.4332, allocations: 1.13 MB / 476.9 MB, free: 4.613 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.4335, allocations: 177.1 kB / 477.1 MB, free: 4.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.372/1.806, allocations: 0 / 477.1 MB, free: 4.383 MB / 346.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