Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 96.38 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 8 kB / 306.7 MB, free: 1.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 51.49 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001173/0.1159, allocations: 0.6212 MB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.1162, allocations: 131.6 kB / 358.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.1163, allocations: 3.938 kB / 358.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.716e-05/0.1164, allocations: 7.922 kB / 359 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.148e-05/0.1165, allocations: 11.98 kB / 359 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1167, allocations: 43.83 kB / 359 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.1168, allocations: 31.97 kB / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1169, allocations: 44.36 kB / 359.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.117, allocations: 11.88 kB / 359.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.117, allocations: 31.83 kB / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.117, allocations: 0 / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.1171, allocations: 4 kB / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.1171, allocations: 19.92 kB / 359.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.1172, allocations: 37.64 kB / 359.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.4e-05/0.1172, allocations: 47.89 kB / 359.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1173, allocations: 4 kB / 359.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1173, allocations: 0 / 359.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1173, allocations: 4 kB / 359.2 MB, free: 12.74 MB / 302.1 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.000369/0.1176, allocations: 375.3 kB / 359.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1177, allocations: 8.031 kB / 359.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.1177, allocations: 38.56 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1178, allocations: 15.8 kB / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.118, allocations: 198.8 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.118, allocations: 7.953 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.118, allocations: 12 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.1184, allocations: 213.2 kB / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1185, allocations: 0 / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1185, allocations: 11.95 kB / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1185, allocations: 0 / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.1186, allocations: 43.91 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.1187, allocations: 189.6 kB / 360.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1189, allocations: 123 kB / 360.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.1189, allocations: 4 kB / 360.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.119, allocations: 30.56 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.119, allocations: 4 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002624/0.1192, allocations: 155.9 kB / 360.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.1193, allocations: 63.36 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1194, allocations: 148.4 kB / 360.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1194, allocations: 29.7 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.1195, allocations: 84.47 kB / 361 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.1195, allocations: 19.83 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.1195, allocations: 0 / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.1196, allocations: 318.8 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.1196, allocations: 19.98 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.152e-05/0.1197, allocations: 117.7 kB / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.1198, allocations: 43.94 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1198, allocations: 0 / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000191/0.12, allocations: 145.7 kB / 361.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.12, allocations: 12.03 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.12, allocations: 4 kB / 361.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1201, allocations: 4 kB / 361.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.1201, allocations: 19.92 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1201, allocations: 11.89 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.1202, allocations: 7.906 kB / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1202, allocations: 8 kB / 361.7 MB, free: 10.03 MB / 302.1 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 () * 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.0001323/0.1203, allocations: 149.7 kB / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.1205, allocations: 117.5 kB / 361.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1205, allocations: 17.19 kB / 362 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1205, allocations: 0 / 362 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1205, allocations: 0 / 362 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1205, allocations: 3.953 kB / 362 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1207, allocations: 189.5 kB / 362.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1207, allocations: 8 kB / 362.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.1207, allocations: 3.984 kB / 362.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1207, allocations: 0 / 362.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1207, allocations: 11.94 kB / 362.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1207, allocations: 4 kB / 362.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1207, allocations: 0 / 362.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.1209, allocations: 147.4 kB / 362.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.121, allocations: 104.9 kB / 362.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.121, allocations: 4 kB / 362.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.121, allocations: 4 kB / 362.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-06/0.121, allocations: 0 / 362.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.1211, allocations: 4 kB / 362.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.1211, allocations: 113.8 kB / 362.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1211, allocations: 0 / 362.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.1214, allocations: 16 kB / 362.6 MB, free: 9.047 MB / 302.1 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 () * 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.0005292/0.1219, allocations: 0.7467 MB / 363.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1221, allocations: 91.78 kB / 363.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1221, allocations: 0 / 363.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.1221, allocations: 3.938 kB / 363.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1224, allocations: 85.55 kB / 363.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.124, allocations: 2.925 MB / 366.4 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1242, allocations: 0.7204 MB / 367.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.039e-05/0.1243, allocations: 8.641 kB / 367.1 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.1243, allocations: 23.44 kB / 367.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1243, allocations: 0 / 367.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.1369, allocations: 2.102 MB / 369.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1371, allocations: 212.3 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.022, allocations: 0 / 369.5 MB, free: 2.113 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat