Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",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.001398/0.001397, allocations: 180.4 kB / 16.39 MB, free: 5.742 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.382/1.382, allocations: 223.2 MB / 240.3 MB, free: 11.83 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.0009057/0.0009055, allocations: 93.89 kB / 291.5 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002676, allocations: 4 kB / 351.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2992, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09903/0.3983, allocations: 76.53 MB / 478.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.3987, allocations: 75.95 kB / 478.2 MB, free: 3.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003023/0.4017, allocations: 1.163 MB / 479.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4017, allocations: 0 / 479.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4017, allocations: 0 / 479.3 MB, free: 2.691 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004152/0.4022, allocations: 359.1 kB / 479.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4022, allocations: 12.03 kB / 479.7 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.4023, allocations: 34.56 kB / 479.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.4023, allocations: 11.86 kB / 479.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.4025, allocations: 193.4 kB / 479.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4026, allocations: 0 / 479.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.4026, allocations: 4 kB / 479.9 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.4029, allocations: 122.1 kB / 480.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4029, allocations: 4 kB / 480.1 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.403, allocations: 0 / 480.1 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.403, allocations: 3.953 kB / 480.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.4031, allocations: 23.98 kB / 480.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.4035, allocations: 273.7 kB / 480.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.4037, allocations: 134.3 kB / 480.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4037, allocations: 0 / 480.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.4037, allocations: 46.55 kB / 480.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4037, allocations: 0 / 480.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002432/0.404, allocations: 85.56 kB / 480.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4041, allocations: 81.09 kB / 480.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4042, allocations: 125.4 kB / 480.8 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.4042, allocations: 29.69 kB / 480.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.4043, allocations: 88.14 kB / 480.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.4043, allocations: 3.906 kB / 480.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.4043, allocations: 0 / 480.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4044, allocations: 310.8 kB / 481.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.4045, allocations: 15.98 kB / 481.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.4045, allocations: 35.42 kB / 481.3 MB, free: 476 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.4046, allocations: 12 kB / 481.3 MB, free: 464 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4046, allocations: 4 kB / 481.3 MB, free: 460 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001186/0.4047, allocations: 73.55 kB / 481.4 MB, free: 380 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4047, allocations: 4 kB / 481.4 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4047, allocations: 4 kB / 481.4 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4048, allocations: 3.953 kB / 481.4 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.4048, allocations: 8 kB / 481.4 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4048, allocations: 0 / 481.4 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.4049, allocations: 7.984 kB / 481.4 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.4049, allocations: 8.125 kB / 481.4 MB, free: 344 kB / 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: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * 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 8.805e-05/0.405, allocations: 117.8 kB / 481.5 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.4051, allocations: 53.53 kB / 481.6 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.4051, allocations: 8.25 kB / 481.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4051, allocations: 3.938 kB / 481.6 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4051, allocations: 3.953 kB / 481.6 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4051, allocations: 0 / 481.6 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.4053, allocations: 169.7 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4053, allocations: 0 / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.4054, allocations: 15.98 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4054, allocations: 3.938 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.4054, allocations: 0 / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4054, allocations: 4 kB / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4054, allocations: 4 kB / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.4057, allocations: 189.9 kB / 482 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.4057, allocations: 89 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.4058, allocations: 4 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.4058, allocations: 4 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.4059, allocations: 3.953 kB / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4059, allocations: 4 kB / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.315e-05/0.4059, allocations: 106.8 kB / 482.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4059, allocations: 0 / 482.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.4062, allocations: 8 kB / 482.2 MB, free: 15.45 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * 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.0005106/0.4067, allocations: 0.7797 MB / 483 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.4068, allocations: 36.41 kB / 483 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4068, allocations: 0 / 483 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.4069, allocations: 11.92 kB / 483 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4071, allocations: 26.84 kB / 483 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.4081, allocations: 0.9162 MB / 484 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4084, allocations: 0.6926 MB / 484.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.267e-05/0.4084, allocations: 0 / 484.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.4085, allocations: 19.42 kB / 484.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4085, allocations: 4 kB / 484.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.4214, allocations: 1.209 MB / 485.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.4216, allocations: 189.4 kB / 486.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.906, allocations: 0 / 486.1 MB, free: 11.54 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat does not exist to compare? outputFormat=mat