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.001312/0.001313, allocations: 176.4 kB / 8.349 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.705/1.705, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.000872/0.000872, allocations: 99.45 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.094e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3096/0.4152, allocations: 80.36 MB / 467.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4155, allocations: 83.95 kB / 468 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01808/0.4336, allocations: 6.643 MB / 474.6 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4337, allocations: 0 / 474.6 MB, free: 7.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.4337, allocations: 8 kB / 474.6 MB, free: 7.633 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005841/0.4343, allocations: 0.5002 MB / 475.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4343, allocations: 12.03 kB / 475.2 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.4344, allocations: 19.72 kB / 475.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.4349, allocations: 290.4 kB / 475.5 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.4349, allocations: 0 / 475.5 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.4349, allocations: 8 kB / 475.5 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/0.435, allocations: 39.97 kB / 475.5 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.4353, allocations: 140.7 kB / 475.6 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4353, allocations: 7.953 kB / 475.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4353, allocations: 0 / 475.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4353, allocations: 0 / 475.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.4358, allocations: 379 kB / 476 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.436, allocations: 104 kB / 476.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.4361, allocations: 42.64 kB / 476.2 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.4361, allocations: 8 kB / 476.2 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.4362, allocations: 83.23 kB / 476.3 MB, free: 5.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.4363, allocations: 0 / 476.3 MB, free: 5.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002422/0.4365, allocations: 113.4 kB / 476.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.4366, allocations: 162.3 kB / 476.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.4369, allocations: 290.2 kB / 476.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.437, allocations: 29.7 kB / 476.8 MB, free: 5.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.437, allocations: 128.1 kB / 477 MB, free: 5.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.4371, allocations: 19.8 kB / 477 MB, free: 5.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.4371, allocations: 0 / 477 MB, free: 5.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4372, allocations: 326.8 kB / 477.3 MB, free: 4.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.4373, allocations: 27.92 kB / 477.3 MB, free: 4.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.4374, allocations: 86.86 kB / 477.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.4374, allocations: 23.98 kB / 477.4 MB, free: 4.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4374, allocations: 0 / 477.4 MB, free: 4.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001697/0.4376, allocations: 121.4 kB / 477.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4376, allocations: 5.25 kB / 477.6 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4376, allocations: 3.953 kB / 477.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4377, allocations: 4 kB / 477.6 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4378, allocations: 23.98 kB / 477.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4378, allocations: 3.984 kB / 477.6 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.4379, allocations: 11.84 kB / 477.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.4379, allocations: 7.984 kB / 477.6 MB, free: 4.352 MB / 346.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.122e-05/0.438, allocations: 113 kB / 477.7 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000176/0.4382, allocations: 117.4 kB / 477.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.4382, allocations: 27.67 kB / 477.9 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.4384, allocations: 111.5 kB / 478 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4384, allocations: 0 / 478 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4384, allocations: 4 kB / 478 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4384, allocations: 0 / 478 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4386, allocations: 234 kB / 478.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4387, allocations: 4.062 kB / 478.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/0.4387, allocations: 19.92 kB / 478.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4387, allocations: 4 kB / 478.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4388, allocations: 3.953 kB / 478.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4388, allocations: 4 kB / 478.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4388, allocations: 0 / 478.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.439, allocations: 182 kB / 478.4 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4391, allocations: 124.8 kB / 478.5 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.4392, allocations: 0 / 478.5 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.4392, allocations: 4.125 kB / 478.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.4393, allocations: 11.98 kB / 478.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4393, allocations: 8 kB / 478.6 MB, free: 3.289 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.4395, allocations: 230 kB / 478.8 MB, free: 3.062 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4395, allocations: 4 kB / 478.8 MB, free: 3.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.4398, allocations: 47.94 kB / 478.8 MB, free: 3.012 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: 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.001225/0.4411, allocations: 1.112 MB / 480 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.4413, allocations: 83.84 kB / 480 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4413, allocations: 0 / 480 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.4413, allocations: 28 kB / 480.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.4417, allocations: 52.84 kB / 480.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.4423, allocations: 351.8 kB / 480.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4426, allocations: 0.7514 MB / 481.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.172e-05/0.4427, allocations: 37.59 kB / 481.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.4428, allocations: 55.41 kB / 481.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4428, allocations: 4 kB / 481.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.4682, allocations: 4.255 MB / 485.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.4685, allocations: 184.1 kB / 485.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.083, allocations: 0 / 485.7 MB, free: 12.1 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