Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001576/0.001576, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.397/1.397, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009575/0.0009576, allocations: 98.28 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002539, allocations: 8 kB / 351.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2695, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3752, allocations: 81.09 MB / 482.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.3755, allocations: 91.92 kB / 482.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01857/0.394, allocations: 6.7 MB / 489.5 MB, free: 8.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3941, allocations: 0 / 489.5 MB, free: 8.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.3941, allocations: 8 kB / 489.5 MB, free: 8.57 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008/0.3949, allocations: 0.5427 MB / 490 MB, free: 7.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.395, allocations: 12.03 kB / 490 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.395, allocations: 34.56 kB / 490.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.3951, allocations: 19.81 kB / 490.1 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.3956, allocations: 290.5 kB / 490.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3956, allocations: 8 kB / 490.4 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3957, allocations: 4 kB / 490.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.396, allocations: 163.5 kB / 490.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.396, allocations: 4 kB / 490.5 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.396, allocations: 3.953 kB / 490.5 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.396, allocations: 0 / 490.5 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3962, allocations: 47.89 kB / 490.6 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.3968, allocations: 398.3 kB / 491 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.397, allocations: 127.8 kB / 491.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3971, allocations: 0 / 491.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.3972, allocations: 83.44 kB / 491.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3973, allocations: 3.938 kB / 491.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.00038/0.3976, allocations: 149.3 kB / 491.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.3978, allocations: 166.5 kB / 491.5 MB, free: 6.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.3981, allocations: 293.8 kB / 491.8 MB, free: 5.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3981, allocations: 41.58 kB / 491.8 MB, free: 5.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.3982, allocations: 124 kB / 491.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3983, allocations: 19.95 kB / 492 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.3983, allocations: 0 / 492 MB, free: 5.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3985, allocations: 330.8 kB / 492.3 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.3985, allocations: 27.98 kB / 492.3 MB, free: 5.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3987, allocations: 94.83 kB / 492.4 MB, free: 5.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.3987, allocations: 28 kB / 492.4 MB, free: 5.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3988, allocations: 4 kB / 492.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002422/0.399, allocations: 133.2 kB / 492.6 MB, free: 5.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.399, allocations: 4 kB / 492.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.399, allocations: 4 kB / 492.6 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3991, allocations: 0 / 492.6 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3992, allocations: 23.92 kB / 492.6 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3992, allocations: 0 / 492.6 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.974e-05/0.3993, allocations: 8.125 kB / 492.6 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3993, allocations: 11.94 kB / 492.6 MB, free: 5.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001648/0.3995, allocations: 150.1 kB / 492.8 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/0.3996, allocations: 69.31 kB / 492.8 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.3999, allocations: 131.3 kB / 493 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3999, allocations: 4 kB / 493 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3999, allocations: 4 kB / 493 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3999, allocations: 4.062 kB / 493 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.4002, allocations: 253.5 kB / 493.2 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4002, allocations: 0 / 493.2 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.4003, allocations: 15.94 kB / 493.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.4003, allocations: 0 / 493.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4003, allocations: 7.938 kB / 493.2 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4003, allocations: 4 kB / 493.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4003, allocations: 0 / 493.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.4006, allocations: 201.9 kB / 493.4 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.4008, allocations: 120.8 kB / 493.6 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.4008, allocations: 0 / 493.6 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.4009, allocations: 8 kB / 493.6 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.401, allocations: 7.984 kB / 493.6 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.401, allocations: 7.984 kB / 493.6 MB, free: 3.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000293/0.4013, allocations: 246 kB / 493.8 MB, free: 3.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4013, allocations: 3.938 kB / 493.8 MB, free: 3.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.4017, allocations: 51.92 kB / 493.9 MB, free: 3.695 MB / 362.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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002077/0.4038, allocations: 1.2 MB / 495.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.4042, allocations: 91.88 kB / 495.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4042, allocations: 0 / 495.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.4044, allocations: 35.97 kB / 495.2 MB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.4049, allocations: 70.19 kB / 495.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.4078, allocations: 1.762 MB / 497 MB, free: 0.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.4085, allocations: 0.7478 MB / 497.8 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.4087, allocations: 25.55 kB / 497.8 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.4089, allocations: 59.41 kB / 497.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4089, allocations: 0 / 497.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.4323, allocations: 4.762 MB / 0.4908 GB, free: 11.15 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.4326, allocations: 243.4 kB / 0.4911 GB, free: 10.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.27, allocations: 0 / 0.4911 GB, free: 10.9 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat