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.0009589/0.0009589, 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.456/1.456, allocations: 221.5 MB / 230.3 MB, free: 7.535 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.001016/0.001016, allocations: 82.25 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.499e-05/1.543e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08954, allocations: 50.43 MB / 387.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4026, allocations: 76.07 MB / 463.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.4029, allocations: 71.95 kB / 463.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004163/0.407, allocations: 1.711 MB / 465.4 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.4071, allocations: 0 / 465.4 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4071, allocations: 0 / 465.4 MB, free: 0.9258 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.0003259/0.4074, allocations: 386.9 kB / 465.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4074, allocations: 12.03 kB / 465.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.4075, allocations: 15.89 kB / 465.8 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.4077, allocations: 209.4 kB / 466 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.4077, allocations: 4 kB / 466 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.4077, allocations: 4 kB / 466 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001106/0.4078, allocations: 47.92 kB / 466.1 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.4082, allocations: 220.4 kB / 466.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4082, allocations: 4 kB / 466.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4083, allocations: 0 / 466.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4083, allocations: 0 / 466.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.4084, allocations: 168 kB / 466.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.4086, allocations: 130.9 kB / 466.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.4087, allocations: 77.77 kB / 466.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.4088, allocations: 4 kB / 466.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.4088, allocations: 34.56 kB / 466.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.4088, allocations: 0 / 466.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002281/0.409, allocations: 130.3 kB / 466.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.4091, allocations: 56.53 kB / 466.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4092, allocations: 145.3 kB / 467 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.4092, allocations: 29.64 kB / 467.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.4092, allocations: 92.47 kB / 467.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.4093, allocations: 7.984 kB / 467.2 MB, free: 15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.4093, allocations: 0 / 467.2 MB, free: 15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.4094, allocations: 322.8 kB / 467.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.4094, allocations: 16 kB / 467.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/0.4095, allocations: 114.8 kB / 467.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.479e-05/0.4096, allocations: 43.91 kB / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4096, allocations: 3.953 kB / 467.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001776/0.4098, allocations: 141.2 kB / 467.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4098, allocations: 7.938 kB / 467.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4098, allocations: 4 kB / 467.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4098, allocations: 12.48 kB / 467.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4099, allocations: 31.92 kB / 467.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4099, allocations: 11.94 kB / 467.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.41, allocations: 11.84 kB / 467.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.41, allocations: 11.98 kB / 467.9 MB, free: 14.22 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 8.218e-05/0.4101, allocations: 124.8 kB / 468 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001546/0.4103, allocations: 123.5 kB / 468.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.4103, allocations: 15.81 kB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.4103, allocations: 17.5 kB / 468.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4104, allocations: 7.984 kB / 468.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4104, allocations: 0 / 468.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4104, allocations: 0 / 468.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.501e-05/0.4105, allocations: 162.1 kB / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4105, allocations: 0 / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4106, allocations: 35.92 kB / 468.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4106, allocations: 0 / 468.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4106, allocations: 0 / 468.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4106, allocations: 0 / 468.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4106, allocations: 0 / 468.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.4108, allocations: 156.8 kB / 468.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.4109, allocations: 108.8 kB / 468.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.4109, allocations: 4 kB / 468.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.411, allocations: 7.984 kB / 468.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.411, allocations: 0 / 468.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.411, allocations: 4 kB / 468.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.411, allocations: 111.9 kB / 468.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4111, allocations: 0 / 468.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.4113, allocations: 16 kB / 468.7 MB, free: 13.26 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.0005339/0.4118, allocations: 0.7561 MB / 469.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.412, allocations: 88.84 kB / 469.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.412, allocations: 0 / 469.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-07/0.412, allocations: 0 / 469.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.4123, allocations: 82.45 kB / 469.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.4127, allocations: 219.9 kB / 469.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.413, allocations: 0.7278 MB / 470.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.34e-05/0.413, allocations: 13.27 kB / 470.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.4131, allocations: 35.36 kB / 470.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4131, allocations: 0 / 470.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.4334, allocations: 1.952 MB / 472.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/0.4338, allocations: 168.8 kB / 472.8 MB, free: 9.129 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.944, allocations: 0 / 472.8 MB, free: 9.129 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