Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 92.5 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002282/0.0002283, allocations: 7.984 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2195, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0933/0.3129, allocations: 77.47 MB / 487 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.3131, allocations: 75.95 kB / 487.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003399/0.3166, allocations: 1.124 MB / 488.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3166, allocations: 4 kB / 488.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3166, allocations: 0 / 488.2 MB, free: 11.95 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.0003687/0.317, allocations: 360.2 kB / 488.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.317, allocations: 8.031 kB / 488.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.3171, allocations: 34.5 kB / 488.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.3172, allocations: 23.89 kB / 488.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3174, allocations: 171.1 kB / 488.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.3174, allocations: 3.938 kB / 488.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3174, allocations: 7.953 kB / 488.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.3177, allocations: 119.3 kB / 488.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3178, allocations: 3.984 kB / 488.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3178, allocations: 8 kB / 488.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3178, allocations: 3.938 kB / 488.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.3179, allocations: 23.98 kB / 488.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.318, allocations: 165.6 kB / 489.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3182, allocations: 66.52 kB / 489.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3182, allocations: 0 / 489.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3182, allocations: 38.52 kB / 489.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3182, allocations: 0 / 489.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002253/0.3185, allocations: 77.81 kB / 489.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3185, allocations: 59.34 kB / 489.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.384e-05/0.3186, allocations: 101 kB / 489.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3186, allocations: 29.7 kB / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.3187, allocations: 88.12 kB / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-06/0.3187, allocations: 4 kB / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.3187, allocations: 4 kB / 489.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.3188, allocations: 310.8 kB / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.3188, allocations: 4 kB / 489.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.3188, allocations: 31.42 kB / 489.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.811e-05/0.3189, allocations: 8 kB / 489.9 MB, free: 10 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3189, allocations: 0 / 489.9 MB, free: 10 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.544e-05/0.319, allocations: 61.47 kB / 490 MB, free: 9.938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.319, allocations: 4.375 kB / 490 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.319, allocations: 7.938 kB / 490 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.319, allocations: 4 kB / 490 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.577e-05/0.3191, allocations: 8.125 kB / 490 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3191, allocations: 11.94 kB / 490 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.3191, allocations: 0 / 490 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.3191, allocations: 0 / 490 MB, free: 9.902 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.172e-05/0.3192, allocations: 113.8 kB / 490.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3193, allocations: 69.61 kB / 490.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.3193, allocations: 7.906 kB / 490.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3194, allocations: 7.953 kB / 490.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3194, allocations: 4 kB / 490.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3194, allocations: 0 / 490.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.507e-05/0.3195, allocations: 157.7 kB / 490.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3195, allocations: 0 / 490.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.3195, allocations: 15.92 kB / 490.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3196, allocations: 0 / 490.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3196, allocations: 0 / 490.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3196, allocations: 0 / 490.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3196, allocations: 3.953 kB / 490.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.3197, allocations: 105.3 kB / 490.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.3198, allocations: 85.02 kB / 490.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3198, allocations: 4 kB / 490.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.3199, allocations: 3.984 kB / 490.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-06/0.3199, allocations: 0 / 490.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3199, allocations: 7.953 kB / 490.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.3199, allocations: 87.28 kB / 490.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3199, allocations: 0 / 490.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000186/0.3201, allocations: 11.98 kB / 490.7 MB, free: 9.125 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.0003806/0.3205, allocations: 0.6203 MB / 491.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3206, allocations: 31.92 kB / 491.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3206, allocations: 0 / 491.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.3206, allocations: 0 / 491.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.3208, allocations: 30.16 kB / 491.3 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.3215, allocations: 0.8711 MB / 492.2 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.3218, allocations: 0.6848 MB / 492.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.206e-05/0.3218, allocations: 3.938 kB / 492.9 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3218, allocations: 19.38 kB / 492.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3218, allocations: 0 / 492.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.3328, allocations: 1.088 MB / 494 MB, free: 5.82 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.333, allocations: 197.4 kB / 494.2 MB, free: 5.578 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/1.758, allocations: 0 / 494.2 MB, free: 5.578 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat does not exist to compare? outputFormat=mat