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.001201/0.001201, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.39/1.39, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008856/0.0008856, allocations: 84.06 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.924e-05, allocations: 0 / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 50.42 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3036/0.4105, allocations: 81.03 MB / 475.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4108, allocations: 79.95 kB / 475.5 MB, free: 6.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.429, allocations: 6.673 MB / 482.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4291, allocations: 0 / 482.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.4291, allocations: 8 kB / 482.1 MB, free: 15.69 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.0006039/0.4297, allocations: 0.5002 MB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4298, allocations: 12.02 kB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.4298, allocations: 42.5 kB / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.4299, allocations: 19.72 kB / 482.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.4303, allocations: 290.5 kB / 483 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4303, allocations: 4 kB / 483 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.4304, allocations: 12 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.4307, allocations: 151.6 kB / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4307, allocations: 3.938 kB / 483.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.4307, allocations: 7.938 kB / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4307, allocations: 4 kB / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.4308, allocations: 32 kB / 483.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.4313, allocations: 398.4 kB / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.4315, allocations: 115.9 kB / 483.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.4316, allocations: 46.69 kB / 483.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4316, allocations: 4.062 kB / 483.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.4317, allocations: 79.23 kB / 483.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.4318, allocations: 4 kB / 483.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000251/0.432, allocations: 125.4 kB / 484 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.4321, allocations: 158.2 kB / 484.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.4324, allocations: 303 kB / 484.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4324, allocations: 29.7 kB / 484.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.4325, allocations: 128.1 kB / 484.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.4325, allocations: 19.8 kB / 484.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.4326, allocations: 0 / 484.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4327, allocations: 330.9 kB / 484.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/0.4327, allocations: 24 kB / 484.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.4328, allocations: 94.78 kB / 485 MB, free: 12.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.4329, allocations: 31.98 kB / 485.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4329, allocations: 0 / 485.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001831/0.4331, allocations: 125.3 kB / 485.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4331, allocations: 4 kB / 485.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4331, allocations: 0 / 485.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4331, allocations: 4 kB / 485.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4333, allocations: 16.11 kB / 485.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4333, allocations: 8 kB / 485.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/0.4334, allocations: 11.84 kB / 485.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4334, allocations: 8.125 kB / 485.2 MB, free: 12.26 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 () * 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 8.301e-05/0.4335, allocations: 116.9 kB / 485.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.037e-05/0.4336, allocations: 65.47 kB / 485.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.4338, allocations: 127.3 kB / 485.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4338, allocations: 8.062 kB / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4338, allocations: 0 / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4338, allocations: 0 / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.434, allocations: 253.4 kB / 485.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.434, allocations: 0 / 485.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.4341, allocations: 19.98 kB / 485.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4341, allocations: 0 / 485.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4341, allocations: 3.953 kB / 485.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4342, allocations: 4 kB / 485.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4342, allocations: 3.938 kB / 485.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.4344, allocations: 193.9 kB / 486 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4345, allocations: 120.9 kB / 486.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.4346, allocations: 0 / 486.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.4347, allocations: 7.984 kB / 486.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.4347, allocations: 15.98 kB / 486.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4347, allocations: 4 kB / 486.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002358/0.435, allocations: 235.1 kB / 486.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.435, allocations: 0 / 486.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.4353, allocations: 63.83 kB / 486.4 MB, free: 10.92 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) * 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.001447/0.4367, allocations: 1.149 MB / 487.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.437, allocations: 87.83 kB / 487.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.437, allocations: 4 kB / 487.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.4371, allocations: 24 kB / 487.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.4374, allocations: 64.59 kB / 487.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.4382, allocations: 350 kB / 488.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4386, allocations: 0.7517 MB / 488.9 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.852e-05/0.4387, allocations: 33.58 kB / 488.9 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.4388, allocations: 55.42 kB / 488.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4388, allocations: 0 / 488.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.4557, allocations: 4.712 MB / 493.7 MB, free: 3.824 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.4559, allocations: 214.4 kB / 493.9 MB, free: 3.594 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.089, allocations: 0 / 493.9 MB, free: 3.594 MB / 362.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