Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.001034/0.001034, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0008684/0.0008685, allocations: 89.42 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.882e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.09076, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.3858, allocations: 76.36 MB / 463.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3861, allocations: 75.95 kB / 464 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005625/0.3917, allocations: 2.112 MB / 466.1 MB, free: 188 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3918, allocations: 0 / 466.1 MB, free: 188 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3918, allocations: 7.938 kB / 466.1 MB, free: 180 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003414/0.3921, allocations: 359.2 kB / 466.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3922, allocations: 8.031 kB / 466.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3922, allocations: 15.8 kB / 466.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3924, allocations: 192.8 kB / 466.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.3924, allocations: 4 kB / 466.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.3925, allocations: 4 kB / 466.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.421e-05/0.3925, allocations: 15.94 kB / 466.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3927, allocations: 105.9 kB / 466.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3927, allocations: 0 / 466.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.3928, allocations: 0 / 466.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3928, allocations: 4 kB / 466.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.3931, allocations: 247.2 kB / 467 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.51e-05/0.3932, allocations: 67.8 kB / 467.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.3932, allocations: 26.62 kB / 467.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3932, allocations: 4 kB / 467.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3933, allocations: 42.5 kB / 467.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.3933, allocations: 0 / 467.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001467/0.3934, allocations: 61.53 kB / 467.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3935, allocations: 106.8 kB / 467.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3936, allocations: 124.3 kB / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3936, allocations: 29.64 kB / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.3937, allocations: 96.03 kB / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.3937, allocations: 0 / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.3937, allocations: 96 / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.3938, allocations: 322.8 kB / 467.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.3938, allocations: 4 kB / 467.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.3938, allocations: 31.42 kB / 467.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.3939, allocations: 4 kB / 467.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3939, allocations: 4 kB / 468 MB, free: 14.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.21e-05/0.394, allocations: 61.53 kB / 468 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.394, allocations: 9.359 kB / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.394, allocations: 0 / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.394, allocations: 4 kB / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.3941, allocations: 11.98 kB / 468 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3941, allocations: 3.938 kB / 468 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.3942, allocations: 4 kB / 468 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3942, allocations: 4.125 kB / 468 MB, free: 13.98 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.96e-05/0.3942, allocations: 109 kB / 468.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.896e-05/0.3943, allocations: 57.53 kB / 468.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.3944, allocations: 11.86 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.3944, allocations: 15.95 kB / 468.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3944, allocations: 8.031 kB / 468.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3944, allocations: 3.984 kB / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3944, allocations: 0 / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.3946, allocations: 158.2 kB / 468.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3946, allocations: 0 / 468.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.3947, allocations: 8 kB / 468.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3947, allocations: 0 / 468.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3947, allocations: 7.938 kB / 468.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3947, allocations: 4 kB / 468.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3947, allocations: 0 / 468.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.3949, allocations: 196.5 kB / 468.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3949, allocations: 93 kB / 468.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3949, allocations: 0 / 468.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3951, allocations: 4 kB / 468.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3951, allocations: 3.984 kB / 468.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3951, allocations: 4 kB / 468.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.3953, allocations: 107.3 kB / 468.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3953, allocations: 0 / 468.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005315/0.3958, allocations: 4 kB / 468.8 MB, free: 13.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0007039/0.3965, allocations: 0.8627 MB / 469.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.3967, allocations: 19.98 kB / 469.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3967, allocations: 3.938 kB / 469.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.3968, allocations: 4 kB / 469.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.3973, allocations: 20.7 kB / 469.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.398, allocations: 143.9 kB / 469.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.3985, allocations: 0.7002 MB / 470.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.658e-05/0.3986, allocations: 4.188 kB / 470.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.3986, allocations: 15.42 kB / 470.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3987, allocations: 0 / 470.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.4175, allocations: 1.077 MB / 471.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.4178, allocations: 153.9 kB / 471.8 MB, free: 9.953 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.404/1.822, allocations: 4.594 kB / 471.8 MB, free: 9.949 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat