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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008881, allocations: 94.83 kB / 16.32 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 184.3 kB / 17.21 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 241.2 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.0002501, allocations: 5.312 kB / 300.9 MB, free: 6.359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 50.41 MB / 351.3 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001624/0.1196, allocations: 0.6094 MB / 351.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000434/0.12, allocations: 139.5 kB / 352.1 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1202, allocations: 4 kB / 352.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1203, allocations: 7.922 kB / 352.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1204, allocations: 3.938 kB / 352.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1207, allocations: 47.95 kB / 352.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1209, allocations: 51.84 kB / 352.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.1211, allocations: 32.39 kB / 352.2 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.1212, allocations: 19.86 kB / 352.2 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.1212, allocations: 19.86 kB / 352.3 MB, free: 3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1213, allocations: 4 kB / 352.3 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.1213, allocations: 4 kB / 352.3 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.1214, allocations: 23.91 kB / 352.3 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.1214, allocations: 37.64 kB / 352.3 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.1215, allocations: 51.89 kB / 352.4 MB, free: 2.875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.1215, allocations: 0 / 352.4 MB, free: 2.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1215, allocations: 0 / 352.4 MB, free: 2.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.1216, allocations: 0 / 352.4 MB, free: 2.875 MB / 286.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.0005228/0.1221, allocations: 384.2 kB / 352.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.1222, allocations: 8.031 kB / 352.8 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.603e-05/0.1222, allocations: 42.52 kB / 352.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.1223, allocations: 19.81 kB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1226, allocations: 201.5 kB / 353 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1226, allocations: 0 / 353 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1227, allocations: 12 kB / 353 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.1231, allocations: 213.4 kB / 353.2 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1231, allocations: 0 / 353.2 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1232, allocations: 4 kB / 353.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1232, allocations: 4 kB / 353.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.1233, allocations: 35.97 kB / 353.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.1235, allocations: 193.5 kB / 353.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1238, allocations: 127 kB / 353.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1239, allocations: 80.77 kB / 353.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1239, allocations: 0 / 353.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.124, allocations: 38.5 kB / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.124, allocations: 3.938 kB / 353.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003227/0.1243, allocations: 153.4 kB / 353.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.1244, allocations: 59.41 kB / 353.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1245, allocations: 146 kB / 354.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1246, allocations: 29.7 kB / 354.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1246, allocations: 84.47 kB / 354.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1247, allocations: 19.88 kB / 354.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-06/0.1247, allocations: 4 kB / 354.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1249, allocations: 326.7 kB / 354.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.1249, allocations: 16 kB / 354.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.125, allocations: 123.9 kB / 354.7 MB, free: 332 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.944e-05/0.1251, allocations: 39.94 kB / 354.7 MB, free: 292 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1251, allocations: 0 / 354.7 MB, free: 292 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002236/0.1254, allocations: 153.2 kB / 354.9 MB, free: 132 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1254, allocations: 11.98 kB / 354.9 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1254, allocations: 7.984 kB / 354.9 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1254, allocations: 4.5 kB / 354.9 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.1255, allocations: 15.94 kB / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1255, allocations: 7.938 kB / 354.9 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.1256, allocations: 11.91 kB / 354.9 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1256, allocations: 8 kB / 354.9 MB, free: 64 kB / 286.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.0002162/0.1258, allocations: 142.2 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.126, allocations: 124 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.126, allocations: 13.19 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.126, allocations: 8 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.126, allocations: 3.984 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1261, allocations: 0 / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1262, allocations: 189.5 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1262, allocations: 0 / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.1262, allocations: 4 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1262, allocations: 0 / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1263, allocations: 0 / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1263, allocations: 4 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1263, allocations: 4 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1265, allocations: 156.8 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1266, allocations: 100.9 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1266, allocations: 11.94 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.1267, allocations: 0 / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.1267, allocations: 0 / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1267, allocations: 8 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.351e-05/0.1268, allocations: 107.2 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1268, allocations: 3.938 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.127, allocations: 16 kB / 355.8 MB, free: 15.08 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.0005861/0.1276, allocations: 0.7423 MB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1278, allocations: 104.6 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1278, allocations: 3.938 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1278, allocations: 0 / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1282, allocations: 76 kB / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008854/0.1291, allocations: 0.6943 MB / 357.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1294, allocations: 0.7165 MB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.1295, allocations: 4.656 kB / 358.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.1295, allocations: 23.42 kB / 358.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1295, allocations: 0 / 358.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.1435, allocations: 2.105 MB / 360.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.1437, allocations: 219 kB / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.145, allocations: 3.094 kB / 360.5 MB, free: 10.41 MB / 302.1 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