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.001517/0.001516, allocations: 187.4 kB / 15.81 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.309/2.309, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001577/0.001577, allocations: 94.78 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1001/0.1001, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005408/0.000541, allocations: 18.66 kB / 392.1 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09692, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001367/0.09834, allocations: 0.6154 MB / 443.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003702/0.09874, allocations: 128.5 kB / 443.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.09885, allocations: 4 kB / 443.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.358e-05/0.09895, allocations: 3.938 kB / 443.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.09905, allocations: 11.92 kB / 443.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.09934, allocations: 43.88 kB / 443.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.09946, allocations: 43.89 kB / 443.3 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.09962, allocations: 24.97 kB / 443.3 MB, free: 9.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.09967, allocations: 19.92 kB / 443.4 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.09973, allocations: 19.86 kB / 443.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.09976, allocations: 7.984 kB / 443.4 MB, free: 9.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.09978, allocations: 0 / 443.4 MB, free: 9.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.09986, allocations: 19.92 kB / 443.4 MB, free: 9.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.0999, allocations: 37.64 kB / 443.4 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.1, allocations: 51.89 kB / 443.5 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1, allocations: 3.938 kB / 443.5 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1, allocations: 0 / 443.5 MB, free: 9.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1001, allocations: 4 kB / 443.5 MB, free: 9.801 MB / 282.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.0003654/0.1004, allocations: 379.2 kB / 443.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1005, allocations: 8.031 kB / 443.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.1005, allocations: 38.56 kB / 443.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1006, allocations: 11.81 kB / 443.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1008, allocations: 202.8 kB / 444.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1008, allocations: 8 kB / 444.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1009, allocations: 8 kB / 444.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.1014, allocations: 226.8 kB / 444.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1014, allocations: 0 / 444.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1014, allocations: 4 kB / 444.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1014, allocations: 0 / 444.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1015, allocations: 31.98 kB / 444.4 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1017, allocations: 189.6 kB / 444.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.102, allocations: 126.6 kB / 444.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.102, allocations: 4 kB / 444.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.102, allocations: 30.94 kB / 444.7 MB, free: 8.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.1021, allocations: 4 kB / 444.8 MB, free: 8.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003692/0.1024, allocations: 165.5 kB / 444.9 MB, free: 8.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.1025, allocations: 63.39 kB / 445 MB, free: 8.137 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1026, allocations: 144.6 kB / 445.1 MB, free: 7.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1027, allocations: 29.7 kB / 445.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1027, allocations: 92.45 kB / 445.2 MB, free: 7.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.1027, allocations: 3.938 kB / 445.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.1028, allocations: 4 kB / 445.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.1028, allocations: 322.8 kB / 445.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.1029, allocations: 23.98 kB / 445.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.103, allocations: 109.7 kB / 445.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.1031, allocations: 43.92 kB / 445.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1031, allocations: 4 kB / 445.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002633/0.1034, allocations: 153.7 kB / 445.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1034, allocations: 8 kB / 445.9 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1034, allocations: 8 kB / 445.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1035, allocations: 8 kB / 445.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/0.1035, allocations: 11.89 kB / 445.9 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1035, allocations: 7.984 kB / 445.9 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.1036, allocations: 11.91 kB / 445.9 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1036, allocations: 11.94 kB / 446 MB, free: 7.074 MB / 282.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 (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.0001569/0.1038, allocations: 153.5 kB / 446.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.1041, allocations: 113.5 kB / 446.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.1041, allocations: 21.17 kB / 446.2 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1041, allocations: 0 / 446.2 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1042, allocations: 7.953 kB / 446.2 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1042, allocations: 0 / 446.2 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1043, allocations: 185.5 kB / 446.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1043, allocations: 0 / 446.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.1043, allocations: 7.938 kB / 446.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1043, allocations: 0 / 446.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1044, allocations: 4 kB / 446.4 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1044, allocations: 7.984 kB / 446.4 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1044, allocations: 0 / 446.4 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1046, allocations: 148.9 kB / 446.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.1047, allocations: 100.9 kB / 446.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1048, allocations: 3.984 kB / 446.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.1048, allocations: 4 kB / 446.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-06/0.1048, allocations: 0 / 446.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1048, allocations: 4 kB / 446.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.1049, allocations: 113.1 kB / 446.8 MB, free: 6.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.292e-06/0.1049, allocations: 0 / 446.8 MB, free: 6.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.1053, allocations: 19.94 kB / 446.8 MB, free: 6.098 MB / 282.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,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.0006005/0.1059, allocations: 0.7392 MB / 447.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.1061, allocations: 95.78 kB / 447.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1062, allocations: 0 / 447.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1062, allocations: 0 / 447.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.1066, allocations: 83.77 kB / 447.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.1082, allocations: 2.93 MB / 450.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1085, allocations: 0.7165 MB / 451.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.237e-05/0.1086, allocations: 8.656 kB / 451.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.1087, allocations: 27.48 kB / 451.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of SimCode: time 1.863e-06/0.1087, allocations: 0 / 451.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.1366, allocations: 2.12 MB / 453.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003265/0.137, allocations: 227.9 kB / 453.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/2.58, allocations: 0 / 453.8 MB, free: 14.97 MB / 298.7 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