Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008742/0.0008743, allocations: 86.16 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009383/0.0009385, allocations: 179.5 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 223.3 MB / 241.2 MB, free: 5.348 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002682, allocations: 10.34 kB / 300.9 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 50.43 MB / 351.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.00186/0.1346, allocations: 1.166 MB / 352.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001856/0.1348, allocations: 39.91 kB / 352.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.1349, allocations: 3.938 kB / 352.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.1349, allocations: 0 / 352.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.135, allocations: 3.938 kB / 352.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1352, allocations: 19.97 kB / 352.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.48e-05/0.1353, allocations: 31.92 kB / 352.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.1354, allocations: 19.91 kB / 352.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.1355, allocations: 19.92 kB / 352.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.1355, allocations: 15.92 kB / 352.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1356, allocations: 0 / 352.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.1356, allocations: 7.938 kB / 352.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.1356, allocations: 3.984 kB / 352.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.1356, allocations: 33.64 kB / 352.7 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.211e-05/0.1357, allocations: 19.95 kB / 352.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1357, allocations: 0 / 352.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1357, allocations: 0 / 352.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1357, allocations: 4 kB / 352.7 MB, free: 10.16 MB / 286.1 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.0004748/0.1362, allocations: 351.3 kB / 353.1 MB, free: 9.773 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1363, allocations: 8.031 kB / 353.1 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.1363, allocations: 42.5 kB / 353.1 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1364, allocations: 7.859 kB / 353.1 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1366, allocations: 175 kB / 353.3 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.1366, allocations: 8 kB / 353.3 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1366, allocations: 0 / 353.3 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.1371, allocations: 167.2 kB / 353.5 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1372, allocations: 0 / 353.5 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1372, allocations: 4 kB / 353.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1372, allocations: 3.953 kB / 353.5 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.1374, allocations: 51.94 kB / 353.5 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.1376, allocations: 161.6 kB / 353.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1379, allocations: 94.53 kB / 353.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.1381, allocations: 48.75 kB / 353.8 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.1381, allocations: 0 / 353.8 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1381, allocations: 30.56 kB / 353.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1381, allocations: 0 / 353.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000445/0.1386, allocations: 117.5 kB / 354 MB, free: 8.734 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1387, allocations: 59.39 kB / 354 MB, free: 8.664 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1388, allocations: 109.8 kB / 354.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1388, allocations: 29.7 kB / 354.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.1389, allocations: 84.12 kB / 354.3 MB, free: 8.426 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.1389, allocations: 0 / 354.3 MB, free: 8.426 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.1389, allocations: 8 kB / 354.3 MB, free: 8.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1391, allocations: 314.8 kB / 354.6 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.1391, allocations: 8 kB / 354.6 MB, free: 8.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/0.1391, allocations: 27.42 kB / 354.6 MB, free: 8.055 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/0.1392, allocations: 12 kB / 354.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1392, allocations: 0 / 354.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.654e-05/0.1393, allocations: 65.53 kB / 354.7 MB, free: 7.973 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1393, allocations: 4 kB / 354.7 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1393, allocations: 4 kB / 354.7 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1393, allocations: 128 / 354.7 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.1394, allocations: 16.06 kB / 354.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.1394, allocations: 4 kB / 354.7 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.017e-05/0.1394, allocations: 7.953 kB / 354.7 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.1394, allocations: 3.938 kB / 354.7 MB, free: 7.934 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.722e-05/0.1395, allocations: 117.8 kB / 354.8 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.1399, allocations: 89.81 kB / 354.9 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.1399, allocations: 3.906 kB / 354.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1399, allocations: 0 / 354.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1399, allocations: 3.938 kB / 354.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1399, allocations: 8 kB / 354.9 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.1401, allocations: 169.5 kB / 355.1 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1402, allocations: 3.984 kB / 355.1 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/0.1402, allocations: 15.98 kB / 355.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1403, allocations: 0 / 355.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1403, allocations: 0 / 355.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1403, allocations: 0 / 355.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1403, allocations: 0 / 355.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1406, allocations: 128.9 kB / 355.2 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.1406, allocations: 77.11 kB / 355.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1407, allocations: 0 / 355.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.1407, allocations: 11.98 kB / 355.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-06/0.1407, allocations: 0 / 355.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1407, allocations: 0 / 355.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.415e-05/0.1408, allocations: 91.27 kB / 355.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.1408, allocations: 0 / 355.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.141, allocations: 7.938 kB / 355.4 MB, free: 7.109 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.0007832/0.1418, allocations: 0.6904 MB / 356.1 MB, free: 6.391 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.142, allocations: 43.91 kB / 356.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.142, allocations: 0 / 356.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.142, allocations: 0 / 356.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1424, allocations: 52.23 kB / 356.2 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000704/0.1431, allocations: 413 kB / 356.6 MB, free: 5.836 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1434, allocations: 0.6848 MB / 357.3 MB, free: 5.125 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.313e-05/0.1435, allocations: 4 kB / 357.3 MB, free: 5.121 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.1435, allocations: 15.42 kB / 357.3 MB, free: 5.105 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1435, allocations: 0 / 357.3 MB, free: 5.105 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1573, allocations: 1.264 MB / 358.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.1577, allocations: 197.8 kB / 358.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/1.967, allocations: 4 kB / 358.8 MB, free: 3.758 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat does not exist to compare? outputFormat=mat