Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",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.001031/0.001031, allocations: 88.39 kB / 16.31 MB, free: 6.457 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.001252/0.001252, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.556/1.556, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 7.062 kB / 300.9 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1183, allocations: 50.43 MB / 351.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00178/0.1202, allocations: 1.177 MB / 352.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.1204, allocations: 95.7 kB / 352.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.1205, allocations: 4 kB / 352.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.1206, allocations: 3.938 kB / 352.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.1206, allocations: 3.938 kB / 352.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1209, allocations: 19.92 kB / 352.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.509e-05/0.121, allocations: 27.91 kB / 352.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.1211, allocations: 7.938 kB / 352.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.1211, allocations: 8 kB / 352.7 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.1212, allocations: 15.92 kB / 352.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1212, allocations: 0 / 352.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.1212, allocations: 0 / 352.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.1212, allocations: 3.938 kB / 352.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.1213, allocations: 37.64 kB / 352.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.734e-05/0.1214, allocations: 15.97 kB / 352.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1214, allocations: 0 / 352.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1214, allocations: 0 / 352.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1214, allocations: 0 / 352.8 MB, free: 10.18 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.0004949/0.1219, allocations: 339.3 kB / 353.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.122, allocations: 12.03 kB / 353.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.122, allocations: 30.56 kB / 353.1 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1221, allocations: 7.953 kB / 353.1 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1223, allocations: 186.8 kB / 353.3 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1223, allocations: 0 / 353.3 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1223, allocations: 4 kB / 353.3 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1227, allocations: 111.3 kB / 353.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1227, allocations: 0 / 353.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1227, allocations: 0 / 353.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1227, allocations: 3.953 kB / 353.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.1228, allocations: 27.97 kB / 353.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.123, allocations: 157.7 kB / 353.6 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1232, allocations: 62.52 kB / 353.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.1233, allocations: 24.89 kB / 353.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1233, allocations: 4 kB / 353.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.1234, allocations: 34.56 kB / 353.7 MB, free: 9.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.1234, allocations: 0 / 353.7 MB, free: 9.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002589/0.1236, allocations: 77.58 kB / 353.8 MB, free: 8.938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.1237, allocations: 51.41 kB / 353.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1238, allocations: 113.8 kB / 354 MB, free: 8.754 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1239, allocations: 33.64 kB / 354 MB, free: 8.715 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.1239, allocations: 80.14 kB / 354.1 MB, free: 8.633 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.116e-06/0.1239, allocations: 7.938 kB / 354.1 MB, free: 8.625 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1239, allocations: 0 / 354.1 MB, free: 8.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1241, allocations: 314.8 kB / 354.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.1242, allocations: 7.984 kB / 354.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.1242, allocations: 31.62 kB / 354.4 MB, free: 8.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.1242, allocations: 4 kB / 354.5 MB, free: 8.254 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1242, allocations: 0 / 354.5 MB, free: 8.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.601e-05/0.1243, allocations: 53.62 kB / 354.5 MB, free: 8.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1244, allocations: 4 kB / 354.5 MB, free: 8.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1244, allocations: 96 / 354.5 MB, free: 8.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1244, allocations: 12.11 kB / 354.5 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.1245, allocations: 7.938 kB / 354.5 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1245, allocations: 0 / 354.5 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.1245, allocations: 7.953 kB / 354.5 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.1245, allocations: 3.938 kB / 354.5 MB, free: 8.16 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: 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 0.0001408/0.1247, allocations: 117.8 kB / 354.7 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1248, allocations: 57.69 kB / 354.7 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.1248, allocations: 11.91 kB / 354.7 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1249, allocations: 0 / 354.7 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1249, allocations: 3.938 kB / 354.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1249, allocations: 3.984 kB / 354.7 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.125, allocations: 161.5 kB / 354.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.125, allocations: 0 / 354.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.1251, allocations: 8 kB / 354.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1251, allocations: 0 / 354.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1251, allocations: 0 / 354.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1251, allocations: 3.984 kB / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1251, allocations: 0 / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1253, allocations: 89.08 kB / 355 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.1254, allocations: 85.09 kB / 355.1 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1254, allocations: 0 / 355.1 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.878e-05/0.1254, allocations: 8 kB / 355.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-06/0.1254, allocations: 0 / 355.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1254, allocations: 4 kB / 355.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.1255, allocations: 87.47 kB / 355.2 MB, free: 7.422 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.555e-06/0.1255, allocations: 0 / 355.2 MB, free: 7.422 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1257, allocations: 11.94 kB / 355.2 MB, free: 7.41 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: 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.0005638/0.1263, allocations: 0.6318 MB / 355.8 MB, free: 6.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1264, allocations: 27.92 kB / 355.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1264, allocations: 0 / 355.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.1265, allocations: 0 / 355.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1267, allocations: 26.41 kB / 355.9 MB, free: 6.699 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.1275, allocations: 385.4 kB / 356.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1278, allocations: 0.6771 MB / 356.9 MB, free: 5.562 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.974e-05/0.1279, allocations: 15.84 kB / 356.9 MB, free: 5.547 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.1279, allocations: 11.44 kB / 356.9 MB, free: 5.535 MB / 286.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1279, allocations: 0 / 356.9 MB, free: 5.535 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.1406, allocations: 1.042 MB / 358 MB, free: 4.645 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.1408, allocations: 195.2 kB / 358.2 MB, free: 4.41 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.071, allocations: 3.875 kB / 358.2 MB, free: 4.41 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat