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.002234/0.002234, allocations: 177.9 kB / 8.05 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.483/2.483, allocations: 205.3 MB / 213.8 MB, free: 13.75 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.001624/0.001624, allocations: 95.17 kB / 261.8 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.13/0.13, allocations: 12.58 MB / 322.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.261e-05, allocations: 4 kB / 379 MB, free: 75.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.09958, allocations: 50.38 MB / 429.4 MB, free: 24.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5513, allocations: 77.22 MB / 0.4948 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.5516, allocations: 70.42 kB / 0.4948 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005876/0.5575, allocations: 1.67 MB / 0.4965 GB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5576, allocations: 0 / 0.4965 GB, free: 11.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.5576, allocations: 11.75 kB / 0.4965 GB, free: 11.28 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.0003682/0.558, allocations: 377.4 kB / 0.4968 GB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.558, allocations: 11.44 kB / 0.4968 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.5581, allocations: 15.44 kB / 0.4969 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.5584, allocations: 202 kB / 0.4971 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5584, allocations: 3.969 kB / 0.4971 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.5584, allocations: 3.844 kB / 0.4971 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003488/0.5588, allocations: 52.09 kB / 0.4971 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.5592, allocations: 213.3 kB / 0.4973 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5593, allocations: 0 / 0.4973 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5593, allocations: 0 / 0.4973 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.5593, allocations: 3.812 kB / 0.4973 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.5594, allocations: 157.6 kB / 0.4975 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.5597, allocations: 141.8 kB / 0.4976 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.5599, allocations: 71.77 kB / 0.4977 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.5599, allocations: 3.875 kB / 0.4977 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.56, allocations: 34.5 kB / 0.4977 GB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.56, allocations: 0 / 0.4977 GB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003031/0.5603, allocations: 140.1 kB / 0.4978 GB, free: 10.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.5604, allocations: 60.09 kB / 0.4979 GB, free: 10.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.5605, allocations: 147.7 kB / 0.498 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.5605, allocations: 25.7 kB / 0.4981 GB, free: 10.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.5606, allocations: 93.52 kB / 0.4982 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.5606, allocations: 14 kB / 0.4982 GB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.5606, allocations: 0 / 0.4982 GB, free: 10.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.5607, allocations: 326.4 kB / 0.4985 GB, free: 9.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.5608, allocations: 15.47 kB / 0.4985 GB, free: 9.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.5609, allocations: 111.7 kB / 0.4986 GB, free: 9.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.332e-05/0.561, allocations: 47.33 kB / 0.4986 GB, free: 9.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.561, allocations: 3.938 kB / 0.4986 GB, free: 9.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002477/0.5612, allocations: 128.8 kB / 0.4988 GB, free: 9.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5613, allocations: 17.88 kB / 0.4988 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.068e-06/0.5613, allocations: 3.625 kB / 0.4988 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.5613, allocations: 3.906 kB / 0.4988 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.5615, allocations: 32.91 kB / 0.4988 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.5615, allocations: 10.56 kB / 0.4988 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.5616, allocations: 15.7 kB / 0.4989 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5616, allocations: 7.531 kB / 0.4989 GB, free: 9.508 MB / 330.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 0.0001026/0.5618, allocations: 125.8 kB / 0.499 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002255/0.562, allocations: 121 kB / 0.4991 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.562, allocations: 10.69 kB / 0.4991 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.5621, allocations: 18.5 kB / 0.4991 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5621, allocations: 7.922 kB / 0.4991 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5621, allocations: 0 / 0.4991 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5621, allocations: 0 / 0.4991 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.834e-05/0.5623, allocations: 161.7 kB / 0.4993 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5623, allocations: 0 / 0.4993 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.5625, allocations: 25.61 kB / 0.4993 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5625, allocations: 3.906 kB / 0.4993 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5625, allocations: 7.141 kB / 0.4993 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5625, allocations: 0 / 0.4993 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5625, allocations: 0 / 0.4993 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.5628, allocations: 151.5 kB / 0.4995 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.5629, allocations: 110.5 kB / 0.4996 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.5629, allocations: 2.812 kB / 0.4996 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.563, allocations: 0 / 0.4996 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-06/0.563, allocations: 0 / 0.4996 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.563, allocations: 7.875 kB / 0.4996 GB, free: 8.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.575e-05/0.5631, allocations: 115.2 kB / 0.4997 GB, free: 8.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5631, allocations: 0 / 0.4997 GB, free: 8.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.5635, allocations: 15.53 kB / 0.4997 GB, free: 8.91 MB / 330.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.0005947/0.5641, allocations: 0.7531 MB / 0.5004 GB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.5643, allocations: 85.78 kB / 0.5005 GB, free: 8.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5644, allocations: 0 / 0.5005 GB, free: 8.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.5644, allocations: 0 / 0.5005 GB, free: 8.289 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.5648, allocations: 78.19 kB / 0.5006 GB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.5655, allocations: 227.4 kB / 0.5008 GB, free: 8.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.5657, allocations: 0.7261 MB / 0.5015 GB, free: 7.441 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.5658, allocations: 7.234 kB / 0.5015 GB, free: 7.441 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.5658, allocations: 31.66 kB / 0.5016 GB, free: 7.434 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5658, allocations: 0 / 0.5016 GB, free: 7.434 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04423/0.6101, allocations: 1.964 MB / 0.5035 GB, free: 7.285 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.6104, allocations: 175.3 kB / 0.5036 GB, free: 7.098 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.05, allocations: 0 / 0.5036 GB, free: 7.098 MB / 330.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