Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009217/0.0009217, allocations: 93.56 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.888e-05, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4945, allocations: 77.32 MB / 479.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4949, allocations: 75.02 kB / 479.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003458/0.4984, allocations: 1.251 MB / 480.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4985, allocations: 0.7812 kB / 480.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.4985, allocations: 4 kB / 480.8 MB, free: 10.98 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003867/0.4989, allocations: 352.1 kB / 481.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.4989, allocations: 8.875 kB / 481.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.499, allocations: 38.19 kB / 481.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.4991, allocations: 7.938 kB / 481.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.4993, allocations: 185 kB / 481.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4993, allocations: 5.672 kB / 481.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.4994, allocations: 9.094 kB / 481.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.4997, allocations: 127.3 kB / 481.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4997, allocations: 4 kB / 481.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4998, allocations: 0 / 481.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4998, allocations: 0 / 481.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.4998, allocations: 23.61 kB / 481.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.5, allocations: 161.5 kB / 481.7 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.5002, allocations: 71.17 kB / 481.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.5003, allocations: 41.14 kB / 481.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.5003, allocations: 0 / 481.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5003, allocations: 34.5 kB / 481.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.5003, allocations: 0 / 481.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002084/0.5005, allocations: 77.81 kB / 481.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.5006, allocations: 55.28 kB / 481.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.5008, allocations: 122.1 kB / 482.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5008, allocations: 26.45 kB / 482.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.5008, allocations: 92.08 kB / 482.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.5009, allocations: 7.359 kB / 482.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.5009, allocations: 0 / 482.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.501, allocations: 318.8 kB / 482.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.501, allocations: 4 kB / 482.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.5011, allocations: 60.67 kB / 482.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.5011, allocations: 19.75 kB / 482.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5011, allocations: 0 / 482.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001224/0.5013, allocations: 89.09 kB / 482.7 MB, free: 8.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5013, allocations: 15.94 kB / 482.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5013, allocations: 0.875 kB / 482.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.5013, allocations: 4.797 kB / 482.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.357e-05/0.5014, allocations: 7.938 kB / 482.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5014, allocations: 0 / 482.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.5014, allocations: 4 kB / 482.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.5015, allocations: 5.734 kB / 482.7 MB, free: 8.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.06e-05/0.5015, allocations: 117.6 kB / 482.8 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.5016, allocations: 73.09 kB / 482.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.5017, allocations: 16.45 kB / 482.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5017, allocations: 0.5 kB / 482.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5017, allocations: 0 / 482.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5017, allocations: 1.078 kB / 482.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.5018, allocations: 169.2 kB / 483.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5019, allocations: 0.9375 kB / 483.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.5019, allocations: 8 kB / 483.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5019, allocations: 1.688 kB / 483.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5019, allocations: 0 / 483.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.5019, allocations: 3.953 kB / 483.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5019, allocations: 0 / 483.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.5021, allocations: 101.6 kB / 483.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.5021, allocations: 96.75 kB / 483.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.5022, allocations: 7.984 kB / 483.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.78e-05/0.5022, allocations: 7.812 kB / 483.3 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-06/0.5022, allocations: 3.953 kB / 483.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.5022, allocations: 0 / 483.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.5023, allocations: 102.8 kB / 483.4 MB, free: 8.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5023, allocations: 0 / 483.4 MB, free: 8.219 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.5025, allocations: 8 kB / 483.4 MB, free: 8.211 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004534/0.503, allocations: 0.6518 MB / 484.1 MB, free: 7.555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.5031, allocations: 39.75 kB / 484.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5031, allocations: 0 / 484.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.5031, allocations: 1.688 kB / 484.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.5034, allocations: 47.31 kB / 484.2 MB, free: 7.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.5039, allocations: 142.7 kB / 484.3 MB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.5041, allocations: 0.7042 MB / 485 MB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.5042, allocations: 8.922 kB / 485 MB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.5042, allocations: 15.38 kB / 485 MB, free: 6.582 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5042, allocations: 0 / 485 MB, free: 6.582 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.5185, allocations: 1.441 MB / 486.5 MB, free: 5.375 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.5188, allocations: 173.4 kB / 486.6 MB, free: 5.148 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.096, allocations: 0 / 486.6 MB, free: 5.148 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat