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.001185/0.001185, allocations: 94 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 197.6 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.000255, allocations: 11.98 kB / 306.8 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001311/0.1235, allocations: 0.6096 MB / 358.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003661/0.1239, allocations: 143.6 kB / 359.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.124, allocations: 3.938 kB / 359.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1241, allocations: 3.938 kB / 359.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.1242, allocations: 11.98 kB / 359.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1245, allocations: 39.89 kB / 359.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.1246, allocations: 59.78 kB / 359.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1248, allocations: 32.38 kB / 359.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.1248, allocations: 19.92 kB / 359.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.1248, allocations: 15.86 kB / 359.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1249, allocations: 8 kB / 359.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.1249, allocations: 0 / 359.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.125, allocations: 23.91 kB / 359.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.125, allocations: 37.64 kB / 359.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1251, allocations: 55.89 kB / 359.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1251, allocations: 0 / 359.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1251, allocations: 0 / 359.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1251, allocations: 0 / 359.4 MB, free: 12.7 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.0003811/0.1255, allocations: 382 kB / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.1256, allocations: 8.031 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.1256, allocations: 50.48 kB / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1257, allocations: 15.81 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1259, allocations: 190.9 kB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1259, allocations: 15.89 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1259, allocations: 4 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.1264, allocations: 222.7 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1264, allocations: 0 / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1264, allocations: 3.953 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1264, allocations: 4 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.1265, allocations: 35.98 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.1267, allocations: 185.6 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1269, allocations: 126.6 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.127, allocations: 81.14 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1271, allocations: 4 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1271, allocations: 34.55 kB / 360.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.1271, allocations: 3.938 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002768/0.1274, allocations: 163.7 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.1274, allocations: 63.41 kB / 360.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1276, allocations: 140.5 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1276, allocations: 29.7 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.1276, allocations: 88.45 kB / 361.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1277, allocations: 11.91 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.1277, allocations: 0 / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1278, allocations: 322.8 kB / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.1278, allocations: 19.98 kB / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.1279, allocations: 121.7 kB / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.312e-05/0.128, allocations: 43.92 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.128, allocations: 4 kB / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002041/0.1282, allocations: 145.2 kB / 361.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1282, allocations: 10.19 kB / 361.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1283, allocations: 4.5 kB / 361.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1283, allocations: 8 kB / 361.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.372e-05/0.1283, allocations: 19.92 kB / 361.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.1283, allocations: 7.953 kB / 361.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.1284, allocations: 11.84 kB / 361.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1284, allocations: 12 kB / 361.9 MB, free: 9.883 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.0001491/0.1286, allocations: 141.7 kB / 362 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.1287, allocations: 113.5 kB / 362.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.1288, allocations: 25.19 kB / 362.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1288, allocations: 3.984 kB / 362.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1288, allocations: 3.938 kB / 362.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1288, allocations: 3.953 kB / 362.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.129, allocations: 189.5 kB / 362.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.129, allocations: 0 / 362.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.129, allocations: 0 / 362.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.129, allocations: 0 / 362.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.129, allocations: 11.98 kB / 362.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.129, allocations: 0 / 362.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.129, allocations: 0 / 362.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.1292, allocations: 159.2 kB / 362.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.1293, allocations: 100.9 kB / 362.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1293, allocations: 4 kB / 362.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.229e-05/0.1294, allocations: 4 kB / 362.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-06/0.1294, allocations: 0 / 362.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1294, allocations: 4 kB / 362.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1295, allocations: 103.3 kB / 362.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1295, allocations: 0 / 362.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.1299, allocations: 23.94 kB / 362.8 MB, free: 8.902 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.0006614/0.1306, allocations: 0.7427 MB / 363.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1308, allocations: 99.17 kB / 363.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1308, allocations: 0 / 363.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.1308, allocations: 0 / 363.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1312, allocations: 79.94 kB / 363.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008734/0.1321, allocations: 0.6956 MB / 364.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1324, allocations: 0.7125 MB / 365.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.1324, allocations: 8.641 kB / 365.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.1325, allocations: 23.5 kB / 365.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1325, allocations: 0 / 365.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.1467, allocations: 2.098 MB / 367.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.147, allocations: 213.4 kB / 367.4 MB, free: 4.246 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.152, allocations: 1.125 kB / 367.4 MB, free: 4.246 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