Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",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.001014/0.001014, allocations: 180.9 kB / 16.38 MB, free: 5.766 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.327/1.327, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.000927/0.000927, allocations: 92.69 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002868, allocations: 8 kB / 351.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 50.41 MB / 401.6 MB, free: 32.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09447/0.3115, allocations: 76.9 MB / 478.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.3118, allocations: 83.94 kB / 478.6 MB, free: 3.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003819/0.3156, allocations: 1.414 MB / 480 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3156, allocations: 0 / 480 MB, free: 2.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3156, allocations: 4 kB / 480 MB, free: 2.031 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003764/0.316, allocations: 371.1 kB / 480.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3161, allocations: 8.031 kB / 480.4 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.3161, allocations: 38.5 kB / 480.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.3162, allocations: 9.688 kB / 480.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3163, allocations: 181.9 kB / 480.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3164, allocations: 7.938 kB / 480.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3164, allocations: 0 / 480.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.3166, allocations: 94.23 kB / 480.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3166, allocations: 0 / 480.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3167, allocations: 7.875 kB / 480.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3167, allocations: 3.953 kB / 480.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.202e-05/0.3168, allocations: 19.98 kB / 480.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.3171, allocations: 269.8 kB / 481 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.247e-05/0.3172, allocations: 45.16 kB / 481 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3172, allocations: 0 / 481 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3173, allocations: 38.62 kB / 481.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3173, allocations: 0 / 481.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000252/0.3175, allocations: 77.47 kB / 481.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3176, allocations: 81.11 kB / 481.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3177, allocations: 121.4 kB / 481.3 MB, free: 472 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.3177, allocations: 29.7 kB / 481.4 MB, free: 436 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.3178, allocations: 88.12 kB / 481.4 MB, free: 344 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3178, allocations: 11.84 kB / 481.5 MB, free: 332 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.3178, allocations: 4 kB / 481.5 MB, free: 328 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3179, allocations: 310.8 kB / 481.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.318, allocations: 15.98 kB / 481.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.318, allocations: 25.66 kB / 481.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.975e-05/0.3181, allocations: 11.98 kB / 481.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3181, allocations: 0 / 481.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.3182, allocations: 57.62 kB / 481.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3182, allocations: 4.125 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3183, allocations: 4 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3183, allocations: 3.953 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.3184, allocations: 11.98 kB / 481.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3184, allocations: 0 / 481.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.3184, allocations: 4 kB / 481.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3184, allocations: 0 / 481.9 MB, free: 15.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.214e-05/0.3185, allocations: 113.8 kB / 482 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.3186, allocations: 45.59 kB / 482.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3186, allocations: 7.875 kB / 482.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3186, allocations: 7.984 kB / 482.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.3186, allocations: 3.953 kB / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3186, allocations: 0 / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3188, allocations: 165.7 kB / 482.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3188, allocations: 4 kB / 482.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.3189, allocations: 11.92 kB / 482.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3189, allocations: 4 kB / 482.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3189, allocations: 0 / 482.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3189, allocations: 8.031 kB / 482.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3189, allocations: 0 / 482.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.3191, allocations: 174 kB / 482.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.3192, allocations: 88.95 kB / 482.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3192, allocations: 12.02 kB / 482.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.3193, allocations: 4 kB / 482.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.3193, allocations: 7.953 kB / 482.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3193, allocations: 0 / 482.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.147e-05/0.3194, allocations: 109.8 kB / 482.6 MB, free: 15 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.384e-06/0.3194, allocations: 0 / 482.6 MB, free: 15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.3196, allocations: 11.88 kB / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004883/0.3201, allocations: 0.7758 MB / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.3202, allocations: 31.95 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3203, allocations: 0 / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.3203, allocations: 8 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3205, allocations: 22.89 kB / 483.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009491/0.3215, allocations: 0.6175 MB / 484.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.3218, allocations: 0.6926 MB / 484.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.3218, allocations: 0 / 484.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.3219, allocations: 15.42 kB / 484.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 4.198e-06/0.3219, allocations: 0 / 484.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.3348, allocations: 1.214 MB / 486 MB, free: 11.64 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.3351, allocations: 188.8 kB / 486.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.849, allocations: 0 / 486.2 MB, free: 11.41 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat