Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_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.0009657/0.0009658, allocations: 177 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007989/0.0007989, allocations: 106.2 kB / 270.3 MB, free: 13.36 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07135/0.07135, allocations: 12.59 MB / 331.2 MB, free: 10.32 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004555, allocations: 12.84 kB / 392.1 MB, free: 54.8 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09513, allocations: 50.38 MB / 442.5 MB, free: 10.86 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001117/0.09629, allocations: 0.6037 MB / 443.1 MB, free: 10.25 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.09662, allocations: 139.6 kB / 443.2 MB, free: 10.11 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.09672, allocations: 3.938 kB / 443.2 MB, free: 10.11 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 8.594e-05/0.09681, allocations: 11.92 kB / 443.3 MB, free: 10.1 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.0969, allocations: 4 kB / 443.3 MB, free: 10.09 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.09713, allocations: 43.89 kB / 443.3 MB, free: 10.05 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 9.084e-05/0.09723, allocations: 55.84 kB / 443.4 MB, free: 9.996 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.09735, allocations: 28.95 kB / 443.4 MB, free: 9.965 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.09739, allocations: 19.92 kB / 443.4 MB, free: 9.945 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/0.09744, allocations: 23.8 kB / 443.4 MB, free: 9.922 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.09746, allocations: 4 kB / 443.4 MB, free: 9.918 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.09748, allocations: 0 / 443.4 MB, free: 9.918 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.09754, allocations: 19.92 kB / 443.4 MB, free: 9.898 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.09758, allocations: 37.64 kB / 443.5 MB, free: 9.855 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 7.871e-05/0.09767, allocations: 59.83 kB / 443.5 MB, free: 9.797 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.09768, allocations: 0 / 443.5 MB, free: 9.797 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09769, allocations: 0 / 443.5 MB, free: 9.797 MB / 282.8 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.0977, allocations: 0 / 443.5 MB, free: 9.797 MB / 282.8 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.0003392/0.09804, allocations: 375.3 kB / 443.9 MB, free: 9.383 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.09809, allocations: 16.03 kB / 443.9 MB, free: 9.367 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.09813, allocations: 38.55 kB / 444 MB, free: 9.32 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.09816, allocations: 23.73 kB / 444 MB, free: 9.297 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.09833, allocations: 198.8 kB / 444.2 MB, free: 9.062 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.09835, allocations: 8 kB / 444.2 MB, free: 9.055 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.09838, allocations: 4 kB / 444.2 MB, free: 9.051 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.09873, allocations: 222.8 kB / 444.4 MB, free: 8.82 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.09875, allocations: 3.938 kB / 444.4 MB, free: 8.816 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.09877, allocations: 3.984 kB / 444.4 MB, free: 8.812 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.09878, allocations: 4 kB / 444.4 MB, free: 8.809 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.455e-05/0.09885, allocations: 35.98 kB / 444.5 MB, free: 8.773 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.09898, allocations: 185.6 kB / 444.6 MB, free: 8.543 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.09917, allocations: 127 kB / 444.8 MB, free: 8.41 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.09927, allocations: 80.77 kB / 444.8 MB, free: 8.328 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.09929, allocations: 4 kB / 444.8 MB, free: 8.324 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.09931, allocations: 30.56 kB / 444.9 MB, free: 8.285 MB / 282.8 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.09932, allocations: 0 / 444.9 MB, free: 8.285 MB / 282.8 MB Notification: Performance of matching and sorting (n=16): time 0.0002311/0.09955, allocations: 161.3 kB / 445 MB, free: 8.121 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.0996, allocations: 63.41 kB / 445.1 MB, free: 8.047 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.0997, allocations: 148.6 kB / 445.2 MB, free: 7.895 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.09972, allocations: 29.7 kB / 445.3 MB, free: 7.859 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.09974, allocations: 84.47 kB / 445.4 MB, free: 7.77 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.09976, allocations: 11.98 kB / 445.4 MB, free: 7.758 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.09977, allocations: 0 / 445.4 MB, free: 7.758 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.09983, allocations: 322.8 kB / 445.7 MB, free: 7.434 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.09986, allocations: 15.98 kB / 445.7 MB, free: 7.418 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/0.09993, allocations: 121.7 kB / 445.8 MB, free: 7.25 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.09998, allocations: 43.98 kB / 445.9 MB, free: 7.207 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.09999, allocations: 0 / 445.9 MB, free: 7.207 MB / 282.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000157/0.1002, allocations: 149.2 kB / 446 MB, free: 7.055 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1002, allocations: 8.5 kB / 446 MB, free: 7.047 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1002, allocations: 8 kB / 446 MB, free: 7.039 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1002, allocations: 7.953 kB / 446 MB, free: 7.031 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.783e-05/0.1002, allocations: 15.94 kB / 446 MB, free: 7.016 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1003, allocations: 7.938 kB / 446 MB, free: 7.008 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.1003, allocations: 19.83 kB / 446.1 MB, free: 6.988 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1003, allocations: 8 kB / 446.1 MB, free: 6.98 MB / 282.8 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.0001162/0.1004, allocations: 141.6 kB / 446.2 MB, free: 6.832 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1006, allocations: 113.5 kB / 446.3 MB, free: 6.715 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.1006, allocations: 25.17 kB / 446.3 MB, free: 6.691 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1006, allocations: 3.938 kB / 446.4 MB, free: 6.688 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1006, allocations: 3.953 kB / 446.4 MB, free: 6.684 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1006, allocations: 0 / 446.4 MB, free: 6.684 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.523e-05/0.1007, allocations: 189.5 kB / 446.5 MB, free: 6.449 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1007, allocations: 0 / 446.5 MB, free: 6.449 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.1007, allocations: 3.938 kB / 446.5 MB, free: 6.445 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1007, allocations: 4 kB / 446.6 MB, free: 6.441 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.1007, allocations: 4 kB / 446.6 MB, free: 6.438 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1008, allocations: 0 / 446.6 MB, free: 6.438 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1008, allocations: 4 kB / 446.6 MB, free: 6.434 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.1009, allocations: 157.6 kB / 446.7 MB, free: 6.262 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.101, allocations: 100.8 kB / 446.8 MB, free: 6.145 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.101, allocations: 4 kB / 446.8 MB, free: 6.141 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.101, allocations: 4 kB / 446.8 MB, free: 6.137 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.101, allocations: 0 / 446.8 MB, free: 6.137 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.101, allocations: 4 kB / 446.8 MB, free: 6.133 MB / 282.8 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.1011, allocations: 109.1 kB / 446.9 MB, free: 6.027 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1011, allocations: 4 kB / 446.9 MB, free: 6.023 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0001962/0.1013, allocations: 19.95 kB / 447 MB, free: 6.004 MB / 282.8 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.0003766/0.1017, allocations: 0.7346 MB / 447.7 MB, free: 5.238 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1018, allocations: 99.95 kB / 447.8 MB, free: 5.141 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1018, allocations: 0 / 447.8 MB, free: 5.141 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1018, allocations: 0 / 447.8 MB, free: 5.141 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1021, allocations: 87.69 kB / 447.9 MB, free: 5.059 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.1028, allocations: 0.6972 MB / 448.6 MB, free: 4.266 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.1029, allocations: 0.7126 MB / 449.3 MB, free: 3.527 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.103, allocations: 4.656 kB / 449.3 MB, free: 3.523 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.103, allocations: 27.48 kB / 449.3 MB, free: 3.496 MB / 282.8 MB Notification: Performance of SimCode: time 1.062e-06/0.103, allocations: 0 / 449.3 MB, free: 3.496 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.1146, allocations: 2.136 MB / 451.4 MB, free: 1.367 MB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/0.1148, allocations: 226.4 kB / 451.7 MB, free: 1.125 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.696, allocations: 0 / 451.7 MB, free: 1.125 MB / 282.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat