Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001701/0.001701, allocations: 197.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007992/0.0007992, allocations: 98.91 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.822e-05, allocations: 0 / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 51.48 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3817/0.498, allocations: 76.18 MB / 471.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4983, allocations: 77.73 kB / 471.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001542/0.4999, allocations: 0.7059 MB / 472.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4999, allocations: 0 / 472.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4999, allocations: 6.781 kB / 472.2 MB, free: 14.24 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.0002403/0.5001, allocations: 326.8 kB / 472.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5002, allocations: 8.031 kB / 472.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.5002, allocations: 6.812 kB / 472.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.5004, allocations: 178.3 kB / 472.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.5004, allocations: 4.859 kB / 472.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.5004, allocations: 4 kB / 472.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.019e-05/0.5005, allocations: 12.3 kB / 472.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5007, allocations: 83.25 kB / 472.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5007, allocations: 0 / 472.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.5007, allocations: 1.219 kB / 472.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5007, allocations: 0 / 472.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.697e-05/0.5008, allocations: 142.4 kB / 473 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.254e-05/0.5009, allocations: 38.69 kB / 473 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.501, allocations: 17.41 kB / 473 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.501, allocations: 0 / 473 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.501, allocations: 34.56 kB / 473.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.501, allocations: 0 / 473.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001254/0.5011, allocations: 48.19 kB / 473.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.5012, allocations: 56.77 kB / 473.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/0.5013, allocations: 103.2 kB / 473.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.5013, allocations: 25.7 kB / 473.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.5013, allocations: 84.14 kB / 473.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.5013, allocations: 5.797 kB / 473.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.5013, allocations: 1.688 kB / 473.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.5014, allocations: 312.1 kB / 473.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.5014, allocations: 8 kB / 473.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.5014, allocations: 31.31 kB / 473.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.613e-05/0.5014, allocations: 5.219 kB / 473.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5015, allocations: 0 / 473.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.351e-05/0.5015, allocations: 51.23 kB / 473.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5015, allocations: 11.31 kB / 473.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5016, allocations: 3.938 kB / 473.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5016, allocations: 0 / 473.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.5016, allocations: 11.95 kB / 473.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5016, allocations: 1.734 kB / 473.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.5017, allocations: 3.906 kB / 473.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.5017, allocations: 4 kB / 473.8 MB, free: 12.54 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 () * 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 4.974e-05/0.5017, allocations: 105 kB / 473.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.426e-05/0.5018, allocations: 56.7 kB / 474 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.5018, allocations: 0 / 474 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.5018, allocations: 12.59 kB / 474 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5019, allocations: 2.719 kB / 474 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5019, allocations: 4 kB / 474 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5019, allocations: 1.312 kB / 474 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.305e-05/0.5019, allocations: 137.9 kB / 474.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5019, allocations: 0 / 474.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.502, allocations: 12.91 kB / 474.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.502, allocations: 4 kB / 474.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.502, allocations: 4 kB / 474.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.502, allocations: 0 / 474.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.502, allocations: 5.219 kB / 474.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.982e-05/0.5021, allocations: 68.47 kB / 474.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.5021, allocations: 81.11 kB / 474.3 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.5022, allocations: 1.172 kB / 474.3 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.866e-05/0.5022, allocations: 4 kB / 474.3 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-06/0.5022, allocations: 5.406 kB / 474.3 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.5022, allocations: 3.953 kB / 474.3 MB, free: 12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.43e-05/0.5023, allocations: 82.28 kB / 474.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5023, allocations: 3.938 kB / 474.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000177/0.5024, allocations: 4 kB / 474.4 MB, free: 11.91 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 () * 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.000238/0.5027, allocations: 0.605 MB / 475 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.394e-05/0.5028, allocations: 20.39 kB / 475 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5028, allocations: 0 / 475 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.5028, allocations: 0 / 475 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.5029, allocations: 14.8 kB / 475 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.5032, allocations: 102.2 kB / 475.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.5033, allocations: 0.6813 MB / 475.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.289e-05/0.5033, allocations: 5.469 kB / 475.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.5033, allocations: 11 kB / 475.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5033, allocations: 0 / 475.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.5217, allocations: 0.7116 MB / 476.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.5219, allocations: 165.6 kB / 476.7 MB, free: 9.836 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.007, allocations: 0 / 476.7 MB, free: 9.836 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat