Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",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.00154/0.00154, allocations: 184.4 kB / 15.8 MB, free: 6.316 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.041/2.041, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001143/0.001143, allocations: 90.86 kB / 270.3 MB, free: 13.37 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.0961/0.0961, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005719/0.0005719, allocations: 13.31 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09696, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.2389, allocations: 77.98 MB / 0.5083 GB, free: 12.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.2392, allocations: 79.95 kB / 0.5083 GB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006884/0.2461, allocations: 1.686 MB / 0.51 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2462, allocations: 0 / 0.51 GB, free: 10.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.2462, allocations: 8 kB / 0.51 GB, free: 10.97 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005793/0.2468, allocations: 394.9 kB / 0.5104 GB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.2469, allocations: 11.97 kB / 0.5104 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.295e-05/0.2469, allocations: 38.56 kB / 0.5104 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.247, allocations: 11.81 kB / 0.5104 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.2473, allocations: 214.8 kB / 0.5106 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2473, allocations: 8 kB / 0.5106 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.2474, allocations: 4 kB / 0.5106 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.248, allocations: 242.8 kB / 0.5109 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.248, allocations: 0 / 0.5109 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.248, allocations: 4 kB / 0.5109 GB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2481, allocations: 0 / 0.5109 GB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.2482, allocations: 52.17 kB / 0.5109 GB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.2484, allocations: 197.5 kB / 0.5111 GB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.2488, allocations: 146.9 kB / 0.5112 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.2489, allocations: 3.938 kB / 0.5113 GB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2489, allocations: 34.56 kB / 0.5113 GB, free: 9.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.2489, allocations: 4 kB / 0.5113 GB, free: 9.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004831/0.2494, allocations: 177.6 kB / 0.5115 GB, free: 9.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.2495, allocations: 67.31 kB / 0.5115 GB, free: 9.199 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2497, allocations: 149.1 kB / 0.5117 GB, free: 9.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2498, allocations: 25.7 kB / 0.5117 GB, free: 9.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.2498, allocations: 92.47 kB / 0.5118 GB, free: 8.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2499, allocations: 15.89 kB / 0.5118 GB, free: 8.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-06/0.2499, allocations: 0 / 0.5118 GB, free: 8.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.25, allocations: 330.8 kB / 0.5121 GB, free: 8.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.2501, allocations: 19.98 kB / 0.5121 GB, free: 8.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.2503, allocations: 109.7 kB / 0.5122 GB, free: 8.395 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2504, allocations: 49.45 kB / 0.5123 GB, free: 8.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2504, allocations: 0 / 0.5123 GB, free: 8.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003639/0.2508, allocations: 161.7 kB / 0.5124 GB, free: 8.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2508, allocations: 12 kB / 0.5124 GB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2508, allocations: 4 kB / 0.5124 GB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.2509, allocations: 7.953 kB / 0.5125 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2511, allocations: 35.92 kB / 0.5125 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.2511, allocations: 11.98 kB / 0.5125 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.499e-05/0.2512, allocations: 11.84 kB / 0.5125 GB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.2512, allocations: 8 kB / 0.5125 GB, free: 8.094 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001902/0.2514, allocations: 149.5 kB / 0.5127 GB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.2517, allocations: 129.4 kB / 0.5128 GB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.2518, allocations: 21.17 kB / 0.5128 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2518, allocations: 4 kB / 0.5128 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.2519, allocations: 3.953 kB / 0.5128 GB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2519, allocations: 0 / 0.5128 GB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.2521, allocations: 189.6 kB / 0.513 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2521, allocations: 0 / 0.513 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.2523, allocations: 35.84 kB / 0.513 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2523, allocations: 0 / 0.513 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.2523, allocations: 11.98 kB / 0.513 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2524, allocations: 0 / 0.513 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2524, allocations: 0 / 0.513 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.2527, allocations: 169.5 kB / 0.5132 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.2528, allocations: 97 kB / 0.5133 GB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.2529, allocations: 4 kB / 0.5133 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.2529, allocations: 7.984 kB / 0.5133 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-06/0.253, allocations: 3.938 kB / 0.5133 GB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.253, allocations: 8 kB / 0.5133 GB, free: 7.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.2531, allocations: 119.2 kB / 0.5134 GB, free: 7.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2531, allocations: 0 / 0.5134 GB, free: 7.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.2534, allocations: 19.95 kB / 0.5135 GB, free: 7.043 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008512/0.2543, allocations: 0.7711 MB / 0.5142 GB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.2546, allocations: 95.83 kB / 0.5143 GB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2546, allocations: 0 / 0.5143 GB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2546, allocations: 0 / 0.5143 GB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.2551, allocations: 90.17 kB / 0.5144 GB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.2576, allocations: 3.011 MB / 0.5173 GB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.258, allocations: 0.7318 MB / 0.518 GB, free: 2.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.2581, allocations: 9.078 kB / 0.518 GB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.2582, allocations: 27.44 kB / 0.5181 GB, free: 2.133 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2582, allocations: 0 / 0.5181 GB, free: 2.133 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2939/0.5521, allocations: 2.302 MB / 0.5203 GB, free: 86.45 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.5524, allocations: 211.6 kB / 0.5205 GB, free: 86.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.866, allocations: 0 / 0.5205 GB, free: 86.21 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat