Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",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.001179/0.001178, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.407/1.407, allocations: 223.2 MB / 240.3 MB, free: 11.9 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.0009365/0.0009366, allocations: 96.61 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002844, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2888, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.392, allocations: 76.1 MB / 477.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.3923, allocations: 77.05 kB / 477.8 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001462/0.3937, allocations: 0.7077 MB / 478.5 MB, free: 3.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3937, allocations: 0 / 478.5 MB, free: 3.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3938, allocations: 5.562 kB / 478.5 MB, free: 3.578 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003184/0.3941, allocations: 340.3 kB / 478.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3941, allocations: 15.06 kB / 478.8 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.3942, allocations: 38.45 kB / 478.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.3942, allocations: 7.984 kB / 478.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.3944, allocations: 175 kB / 479 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.3944, allocations: 0 / 479 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3944, allocations: 3.984 kB / 479 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.3947, allocations: 110.4 kB / 479.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3948, allocations: 0 / 479.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3948, allocations: 8 kB / 479.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3948, allocations: 7.953 kB / 479.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.3949, allocations: 15.98 kB / 479.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.395, allocations: 153.7 kB / 479.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3952, allocations: 66.48 kB / 479.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.3952, allocations: 0 / 479.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.3952, allocations: 34.73 kB / 479.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.3952, allocations: 0 / 479.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.3955, allocations: 77.59 kB / 479.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3955, allocations: 59.41 kB / 479.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.3956, allocations: 101 kB / 479.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3956, allocations: 25.7 kB / 479.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.3957, allocations: 88.12 kB / 479.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-06/0.3957, allocations: 4 kB / 479.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.3957, allocations: 0 / 479.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3958, allocations: 310.8 kB / 480.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.3958, allocations: 4 kB / 480.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.3959, allocations: 35.42 kB / 480.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.018e-05/0.3959, allocations: 4 kB / 480.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3959, allocations: 3.938 kB / 480.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.741e-05/0.396, allocations: 61.48 kB / 480.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.396, allocations: 7.984 kB / 480.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.396, allocations: 4.125 kB / 480.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.396, allocations: 4 kB / 480.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.3961, allocations: 4 kB / 480.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3961, allocations: 4 kB / 480.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.3961, allocations: 0 / 480.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3962, allocations: 7.953 kB / 480.2 MB, free: 1.605 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.919e-05/0.3963, allocations: 113.8 kB / 480.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3964, allocations: 69.89 kB / 480.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.3964, allocations: 11.94 kB / 480.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3964, allocations: 0 / 480.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3964, allocations: 3.938 kB / 480.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3964, allocations: 0 / 480.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3966, allocations: 157.5 kB / 480.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3966, allocations: 3.984 kB / 480.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.3966, allocations: 12 kB / 480.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3966, allocations: 256 / 480.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3966, allocations: 0 / 480.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3967, allocations: 12 kB / 480.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3967, allocations: 0 / 480.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.3968, allocations: 93 kB / 480.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.3969, allocations: 77.11 kB / 480.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3969, allocations: 0 / 480.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.63e-05/0.3969, allocations: 4 kB / 480.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-06/0.3969, allocations: 7.984 kB / 480.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3969, allocations: 3.938 kB / 480.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.41e-05/0.397, allocations: 83.28 kB / 480.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.397, allocations: 0 / 480.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.3972, allocations: 4 kB / 480.9 MB, free: 0.8555 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0004558/0.3977, allocations: 0.628 MB / 481.5 MB, free: 204 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3978, allocations: 27.92 kB / 481.5 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3978, allocations: 0 / 481.5 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3978, allocations: 0 / 481.5 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.398, allocations: 23.16 kB / 481.5 MB, free: 156 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008412/0.3988, allocations: 0.825 MB / 482.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3991, allocations: 0.6887 MB / 483.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.254e-05/0.3991, allocations: 0 / 483.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.3992, allocations: 16.31 kB / 483.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3992, allocations: 0 / 483.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.4122, allocations: 1.02 MB / 484.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.4124, allocations: 200.1 kB / 484.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.985, allocations: 3.25 kB / 484.3 MB, free: 13.44 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat