Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",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.001395/0.001395, allocations: 175.6 kB / 13.63 MB, free: 1.684 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.418/1.418, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.0009188, allocations: 95.98 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.603e-05, allocations: 0 / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09804, allocations: 50.42 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/0.424, allocations: 76.74 MB / 471.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.4244, allocations: 73.55 kB / 471.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004574/0.4289, allocations: 1.716 MB / 472.9 MB, free: 8.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.429, allocations: 0 / 472.9 MB, free: 8.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.429, allocations: 8 kB / 472.9 MB, free: 8.965 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003876/0.4294, allocations: 378.9 kB / 473.3 MB, free: 8.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4295, allocations: 12.03 kB / 473.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.4295, allocations: 46.55 kB / 473.3 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.4296, allocations: 11.91 kB / 473.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.4298, allocations: 205.8 kB / 473.5 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.4298, allocations: 4 kB / 473.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.4299, allocations: 16 kB / 473.5 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.4303, allocations: 250.1 kB / 473.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4304, allocations: 0 / 473.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4304, allocations: 4 kB / 473.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4304, allocations: 0 / 473.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.4305, allocations: 45.81 kB / 473.8 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.4307, allocations: 193.6 kB / 474 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.431, allocations: 144.4 kB / 474.2 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.4311, allocations: 89.05 kB / 474.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.4311, allocations: 7.938 kB / 474.3 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4312, allocations: 31.72 kB / 474.3 MB, free: 7.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.4312, allocations: 0 / 474.3 MB, free: 7.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002804/0.4315, allocations: 130.2 kB / 474.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.4315, allocations: 67.41 kB / 474.5 MB, free: 7.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4317, allocations: 145.2 kB / 474.6 MB, free: 7.031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4317, allocations: 33.7 kB / 474.7 MB, free: 6.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.4318, allocations: 84.47 kB / 474.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.4318, allocations: 11.98 kB / 474.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.4318, allocations: 4 kB / 474.8 MB, free: 6.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4319, allocations: 326.8 kB / 475.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.432, allocations: 16 kB / 475.1 MB, free: 6.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4321, allocations: 129 kB / 475.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.4322, allocations: 43.92 kB / 475.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4322, allocations: 0 / 475.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002909/0.4325, allocations: 161.6 kB / 475.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4325, allocations: 9.562 kB / 475.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4325, allocations: 4 kB / 475.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4326, allocations: 11.94 kB / 475.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4327, allocations: 31.92 kB / 475.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4327, allocations: 4.547 kB / 475.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.4328, allocations: 15.84 kB / 475.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4328, allocations: 8 kB / 475.5 MB, free: 6.082 MB / 346.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 () * 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 9.158e-05/0.4329, allocations: 136.8 kB / 475.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.4331, allocations: 133.4 kB / 475.8 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.4332, allocations: 16.73 kB / 475.8 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.4332, allocations: 4 kB / 475.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4332, allocations: 0 / 475.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4332, allocations: 0 / 475.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.4333, allocations: 193.5 kB / 476 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4333, allocations: 0 / 476 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.4334, allocations: 27.98 kB / 476 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4334, allocations: 4 kB / 476 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.4334, allocations: 4 kB / 476 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4334, allocations: 0 / 476 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4334, allocations: 0 / 476 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.4336, allocations: 164.9 kB / 476.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.4337, allocations: 104.8 kB / 476.3 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.4337, allocations: 8 kB / 476.3 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.4338, allocations: 3.984 kB / 476.3 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.4338, allocations: 0 / 476.3 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.4338, allocations: 12 kB / 476.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.4339, allocations: 119.3 kB / 476.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4339, allocations: 0 / 476.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.4341, allocations: 16 kB / 476.4 MB, free: 5.062 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: 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 () * 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.0005422/0.4347, allocations: 0.779 MB / 477.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.4348, allocations: 95.8 kB / 477.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4348, allocations: 0 / 477.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.4348, allocations: 4 kB / 477.3 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4351, allocations: 87.23 kB / 477.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.4356, allocations: 231.8 kB / 477.6 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4359, allocations: 0.7358 MB / 478.4 MB, free: 3.047 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.4359, allocations: 9.203 kB / 478.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.436, allocations: 27.44 kB / 478.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.436, allocations: 0 / 478.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.4513, allocations: 2.292 MB / 480.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.4516, allocations: 184.4 kB / 480.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.968, allocations: 0 / 480.9 MB, free: 0.6367 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat