Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00203/0.00203, allocations: 180.3 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 94.84 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09785/0.09785, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005459, allocations: 12.72 kB / 392.1 MB, free: 54.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.09496, allocations: 50.36 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.2368, allocations: 77.85 MB / 0.5081 GB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.2372, allocations: 75.91 kB / 0.5082 GB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004587/0.2418, allocations: 1.207 MB / 0.5094 GB, free: 11.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2419, allocations: 0 / 0.5094 GB, free: 11.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.2419, allocations: 4 kB / 0.5094 GB, free: 11.6 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004429/0.2423, allocations: 367 kB / 0.5097 GB, free: 11.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2424, allocations: 8.031 kB / 0.5097 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.2425, allocations: 34.56 kB / 0.5098 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.2425, allocations: 11.91 kB / 0.5098 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.2428, allocations: 179.6 kB / 0.5099 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2428, allocations: 3.953 kB / 0.51 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.2428, allocations: 11.94 kB / 0.51 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.2432, allocations: 127.3 kB / 0.5101 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2432, allocations: 0 / 0.5101 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2433, allocations: 0 / 0.5101 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2433, allocations: 0 / 0.5101 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.2433, allocations: 19.98 kB / 0.5101 GB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.2435, allocations: 165.7 kB / 0.5103 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.2438, allocations: 74.61 kB / 0.5103 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.2438, allocations: 0 / 0.5103 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.2438, allocations: 34.56 kB / 0.5104 GB, free: 10.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.2438, allocations: 0 / 0.5104 GB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002583/0.2441, allocations: 85.72 kB / 0.5104 GB, free: 10.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.2442, allocations: 63.39 kB / 0.5105 GB, free: 10.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2443, allocations: 116.9 kB / 0.5106 GB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.2444, allocations: 41.64 kB / 0.5107 GB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.2444, allocations: 84.12 kB / 0.5107 GB, free: 9.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.2445, allocations: 4 kB / 0.5107 GB, free: 9.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.2445, allocations: 0 / 0.5107 GB, free: 9.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2446, allocations: 318.8 kB / 0.511 GB, free: 9.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.2447, allocations: 7.984 kB / 0.5111 GB, free: 9.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.2448, allocations: 54.88 kB / 0.5111 GB, free: 9.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.2448, allocations: 24.11 kB / 0.5111 GB, free: 9.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2448, allocations: 4 kB / 0.5111 GB, free: 9.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001872/0.245, allocations: 97.3 kB / 0.5112 GB, free: 9.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2451, allocations: 4 kB / 0.5112 GB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2451, allocations: 4.312 kB / 0.5112 GB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2451, allocations: 0 / 0.5112 GB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.963e-05/0.2451, allocations: 8 kB / 0.5112 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.2452, allocations: 7.984 kB / 0.5113 GB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.2452, allocations: 0 / 0.5113 GB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2452, allocations: 8.234 kB / 0.5113 GB, free: 9.418 MB / 362.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 () * Number of clocked states: 1 (unitDelay1.u) * 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 0.000121/0.2454, allocations: 133.8 kB / 0.5114 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.2455, allocations: 73.55 kB / 0.5115 GB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.2456, allocations: 12.38 kB / 0.5115 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2456, allocations: 0 / 0.5115 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2456, allocations: 3.984 kB / 0.5115 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2456, allocations: 0 / 0.5115 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.2458, allocations: 173.6 kB / 0.5116 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2458, allocations: 0 / 0.5116 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.2458, allocations: 7.938 kB / 0.5116 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2458, allocations: 4 kB / 0.5116 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2459, allocations: 7.953 kB / 0.5117 GB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.2459, allocations: 0 / 0.5117 GB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2459, allocations: 0 / 0.5117 GB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.2461, allocations: 97.02 kB / 0.5117 GB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.2462, allocations: 93.08 kB / 0.5118 GB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.2462, allocations: 4 kB / 0.5118 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.2462, allocations: 3.953 kB / 0.5118 GB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-06/0.2463, allocations: 4 kB / 0.5118 GB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.2463, allocations: 4 kB / 0.5119 GB, free: 8.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.754e-05/0.2464, allocations: 103.2 kB / 0.512 GB, free: 8.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2464, allocations: 0 / 0.512 GB, free: 8.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.2467, allocations: 8 kB / 0.512 GB, free: 8.594 MB / 362.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 () * Number of clocked states: 1 (unitDelay1.u) * 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.0006234/0.2473, allocations: 0.6568 MB / 0.5126 GB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.2475, allocations: 43.91 kB / 0.5126 GB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2475, allocations: 0 / 0.5126 GB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.2475, allocations: 0 / 0.5126 GB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.2479, allocations: 55.53 kB / 0.5127 GB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2492, allocations: 1.541 MB / 0.5142 GB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.2496, allocations: 0.7044 MB / 0.5149 GB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.799e-05/0.2496, allocations: 3.984 kB / 0.5149 GB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.2497, allocations: 15.44 kB / 0.5149 GB, free: 5.441 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2497, allocations: 0 / 0.5149 GB, free: 5.441 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.2702, allocations: 1.449 MB / 0.5163 GB, free: 4.008 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000329/0.2706, allocations: 206 kB / 0.5165 GB, free: 3.766 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.595, allocations: 0 / 0.5165 GB, free: 3.766 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat