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.00245/0.00245, allocations: 184.3 kB / 15.8 MB, free: 6.316 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.059/2.059, 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.001171/0.00117, allocations: 98.8 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.09821/0.0982, allocations: 12.58 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005843/0.0005843, allocations: 13.69 kB / 392.1 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1014, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.2409, allocations: 77.95 MB / 0.5082 GB, free: 12.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.2413, allocations: 75.95 kB / 0.5083 GB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005961/0.2473, allocations: 1.554 MB / 0.5098 GB, free: 11.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2473, allocations: 3.938 kB / 0.5098 GB, free: 11.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.2473, allocations: 8 kB / 0.5098 GB, free: 11.13 MB / 362.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.0004697/0.2478, allocations: 375 kB / 0.5102 GB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2479, allocations: 12.03 kB / 0.5102 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.2479, allocations: 38.5 kB / 0.5102 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.248, allocations: 15.81 kB / 0.5103 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.2483, allocations: 198.8 kB / 0.5104 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2483, allocations: 8 kB / 0.5105 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.2484, allocations: 4 kB / 0.5105 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.2489, allocations: 226.8 kB / 0.5107 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.249, allocations: 0 / 0.5107 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.249, allocations: 0 / 0.5107 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.249, allocations: 4 kB / 0.5107 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2491, allocations: 44.12 kB / 0.5107 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.2494, allocations: 181.6 kB / 0.5109 GB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.2497, allocations: 127 kB / 0.511 GB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2497, allocations: 4 kB / 0.511 GB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.2498, allocations: 34.56 kB / 0.5111 GB, free: 9.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.547e-06/0.2498, allocations: 3.984 kB / 0.5111 GB, free: 9.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004225/0.2502, allocations: 161.7 kB / 0.5112 GB, free: 9.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.2503, allocations: 59.41 kB / 0.5113 GB, free: 9.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2505, allocations: 131.7 kB / 0.5114 GB, free: 9.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.2505, allocations: 29.7 kB / 0.5114 GB, free: 9.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.2506, allocations: 88.47 kB / 0.5115 GB, free: 9.203 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2506, allocations: 11.89 kB / 0.5115 GB, free: 9.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.2507, allocations: 4 kB / 0.5115 GB, free: 9.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2508, allocations: 318.8 kB / 0.5118 GB, free: 8.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.2509, allocations: 27.92 kB / 0.5118 GB, free: 8.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.251, allocations: 113.7 kB / 0.512 GB, free: 8.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.2511, allocations: 49.45 kB / 0.512 GB, free: 8.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.2512, allocations: 0 / 0.512 GB, free: 8.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003098/0.2515, allocations: 149.6 kB / 0.5121 GB, free: 8.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2515, allocations: 12.09 kB / 0.5122 GB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2515, allocations: 0 / 0.5122 GB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.2516, allocations: 8 kB / 0.5122 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.2516, allocations: 15.89 kB / 0.5122 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.2516, allocations: 7.984 kB / 0.5122 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.2517, allocations: 4 kB / 0.5122 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2518, allocations: 8 kB / 0.5122 GB, free: 8.426 MB / 362.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.0001618/0.2519, allocations: 149.5 kB / 0.5123 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.2522, allocations: 113.5 kB / 0.5125 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.2523, allocations: 21.17 kB / 0.5125 GB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2523, allocations: 0 / 0.5125 GB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.2523, allocations: 7.953 kB / 0.5125 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2523, allocations: 0 / 0.5125 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2525, allocations: 185.6 kB / 0.5127 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2525, allocations: 4 kB / 0.5127 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.2526, allocations: 0 / 0.5127 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2526, allocations: 4 kB / 0.5127 GB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2526, allocations: 4 kB / 0.5127 GB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2526, allocations: 4 kB / 0.5127 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2526, allocations: 0 / 0.5127 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.2529, allocations: 161.4 kB / 0.5128 GB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.253, allocations: 93 kB / 0.5129 GB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2531, allocations: 4 kB / 0.5129 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/0.2531, allocations: 4 kB / 0.5129 GB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-06/0.2531, allocations: 0 / 0.5129 GB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2531, allocations: 4 kB / 0.5129 GB, free: 7.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.2533, allocations: 113.1 kB / 0.513 GB, free: 7.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2533, allocations: 0 / 0.513 GB, free: 7.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.2536, allocations: 16 kB / 0.513 GB, free: 7.457 MB / 362.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.000819/0.2544, allocations: 0.7423 MB / 0.5138 GB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.2547, allocations: 99.83 kB / 0.5139 GB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2547, allocations: 0 / 0.5139 GB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.2547, allocations: 0 / 0.5139 GB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.2552, allocations: 79.69 kB / 0.5139 GB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.2576, allocations: 2.927 MB / 0.5168 GB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.258, allocations: 0.7165 MB / 0.5175 GB, free: 2.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.795e-05/0.2581, allocations: 12.66 kB / 0.5175 GB, free: 2.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.2581, allocations: 27.36 kB / 0.5175 GB, free: 2.691 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2582, allocations: 0 / 0.5175 GB, free: 2.691 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.285, allocations: 2.13 MB / 0.5196 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003848/0.2855, allocations: 213.4 kB / 0.5198 GB, free: 336 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.617, allocations: 0 / 0.5198 GB, free: 336 kB / 362.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