Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001229/0.001229, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.0009411/0.0009411, allocations: 91.17 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.767e-05, allocations: 4 kB / 337.1 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 50.42 MB / 387.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/0.4786, allocations: 76.04 MB / 463.6 MB, free: 2.746 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4789, allocations: 75.95 kB / 463.7 MB, free: 2.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00395/0.4829, allocations: 1.599 MB / 465.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4829, allocations: 0 / 465.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.4829, allocations: 12 kB / 465.3 MB, free: 1.066 MB / 330.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.0003531/0.4833, allocations: 351.2 kB / 465.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4834, allocations: 13.16 kB / 465.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.4834, allocations: 15.81 kB / 465.7 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.4836, allocations: 195.9 kB / 465.8 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4836, allocations: 4 kB / 465.8 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.4837, allocations: 4 kB / 465.9 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001221/0.4838, allocations: 43.98 kB / 465.9 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.4841, allocations: 197.4 kB / 466.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4841, allocations: 0 / 466.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4841, allocations: 0 / 466.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4842, allocations: 0 / 466.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.4843, allocations: 156.1 kB / 466.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.4845, allocations: 126.7 kB / 466.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.4846, allocations: 69.73 kB / 466.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.4846, allocations: 0 / 466.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.4847, allocations: 30.56 kB / 466.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.4847, allocations: 3.938 kB / 466.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.000222/0.4849, allocations: 107.6 kB / 466.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.485, allocations: 59.31 kB / 466.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4851, allocations: 126.6 kB / 466.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4851, allocations: 29.7 kB / 466.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.4852, allocations: 88.47 kB / 466.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.4852, allocations: 15.89 kB / 466.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.4852, allocations: 3.938 kB / 466.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4853, allocations: 318.8 kB / 467.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.4854, allocations: 20 kB / 467.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4855, allocations: 115.1 kB / 467.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.4855, allocations: 31.98 kB / 467.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4855, allocations: 0 / 467.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001841/0.4857, allocations: 137.2 kB / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4858, allocations: 7.984 kB / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4858, allocations: 4 kB / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4858, allocations: 8 kB / 467.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-05/0.4858, allocations: 8.438 kB / 467.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4859, allocations: 8.625 kB / 467.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.4859, allocations: 4 kB / 467.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.4859, allocations: 8 kB / 467.5 MB, free: 14.55 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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 0.0001101/0.486, allocations: 128.8 kB / 467.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001954/0.4862, allocations: 103.7 kB / 467.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.4863, allocations: 15.8 kB / 467.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.4863, allocations: 16.75 kB / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4864, allocations: 4 kB / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4864, allocations: 0 / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4864, allocations: 6.797 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4865, allocations: 162.1 kB / 468 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4865, allocations: 0 / 468 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.4865, allocations: 3.938 kB / 468 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4865, allocations: 4 kB / 468 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4866, allocations: 0 / 468 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4866, allocations: 0 / 468 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4866, allocations: 0 / 468 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.4868, allocations: 140.9 kB / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.4868, allocations: 96.95 kB / 468.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.4869, allocations: 7.938 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.4869, allocations: 0 / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.4869, allocations: 0 / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4869, allocations: 4 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.792e-05/0.487, allocations: 104.7 kB / 468.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.765e-06/0.487, allocations: 0 / 468.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.4872, allocations: 15.94 kB / 468.3 MB, free: 13.67 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0005697/0.4878, allocations: 0.739 MB / 469.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.488, allocations: 76.48 kB / 469.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.488, allocations: 448 / 469.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.488, allocations: 4 kB / 469.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.4883, allocations: 71.88 kB / 469.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.4888, allocations: 186 kB / 469.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.489, allocations: 0.72 MB / 470.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.4891, allocations: 12.77 kB / 470.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.4891, allocations: 23.42 kB / 470.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4891, allocations: 0 / 470.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.5091, allocations: 1.787 MB / 472 MB, free: 9.984 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.5094, allocations: 166.6 kB / 472.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.022, allocations: 0 / 472.1 MB, free: 9.793 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat