Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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.003759/0.003758, allocations: 184.6 kB / 15.8 MB, free: 6.312 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.071/2.071, 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.00113/0.00113, allocations: 98.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.09599/0.09599, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005526/0.0005525, allocations: 17.28 kB / 392.1 MB, free: 54.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09139, allocations: 50.37 MB / 442.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.2308, allocations: 77.86 MB / 0.5081 GB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.2312, allocations: 83.95 kB / 0.5082 GB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006508/0.2377, allocations: 1.608 MB / 0.5098 GB, free: 11.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2378, allocations: 0 / 0.5098 GB, free: 11.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.2378, allocations: 4 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.0005476/0.2384, allocations: 394.8 kB / 0.5102 GB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.2384, allocations: 8.031 kB / 0.5102 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.2385, allocations: 46.55 kB / 0.5102 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.2386, allocations: 7.906 kB / 0.5102 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.2389, allocations: 215 kB / 0.5104 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2389, allocations: 8 kB / 0.5104 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.2389, allocations: 7.938 kB / 0.5105 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.2395, allocations: 218.8 kB / 0.5107 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2395, allocations: 0 / 0.5107 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.2395, allocations: 4 kB / 0.5107 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2396, allocations: 4 kB / 0.5107 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.2397, allocations: 35.97 kB / 0.5107 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.2399, allocations: 189.6 kB / 0.5109 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.2403, allocations: 134.9 kB / 0.511 GB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2403, allocations: 4 kB / 0.511 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2403, allocations: 30.56 kB / 0.511 GB, free: 9.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.2404, allocations: 0 / 0.511 GB, free: 9.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004183/0.2408, allocations: 157.6 kB / 0.5112 GB, free: 9.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.2409, allocations: 63.39 kB / 0.5113 GB, free: 9.438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.241, allocations: 134.1 kB / 0.5114 GB, free: 9.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.2411, allocations: 25.7 kB / 0.5114 GB, free: 9.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.2411, allocations: 92.47 kB / 0.5115 GB, free: 9.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.2412, allocations: 7.984 kB / 0.5115 GB, free: 9.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.2412, allocations: 4 kB / 0.5115 GB, free: 9.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2414, allocations: 322.8 kB / 0.5118 GB, free: 8.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.2414, allocations: 23.89 kB / 0.5118 GB, free: 8.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.2416, allocations: 121.7 kB / 0.512 GB, free: 8.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.2417, allocations: 41.41 kB / 0.512 GB, free: 8.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2417, allocations: 0 / 0.512 GB, free: 8.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003269/0.2421, allocations: 153.2 kB / 0.5121 GB, free: 8.441 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.2421, allocations: 10.97 kB / 0.5122 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2421, allocations: 4 kB / 0.5122 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.2422, allocations: 4.5 kB / 0.5122 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.2424, allocations: 39.88 kB / 0.5122 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2424, allocations: 12 kB / 0.5122 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.2425, allocations: 15.84 kB / 0.5122 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.2425, allocations: 8 kB / 0.5122 GB, free: 8.352 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: 0 () * 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.0001572/0.2427, allocations: 137.5 kB / 0.5124 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.243, allocations: 113.6 kB / 0.5125 GB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.243, allocations: 17.19 kB / 0.5125 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.2431, allocations: 3.984 kB / 0.5125 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2431, allocations: 7.891 kB / 0.5125 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2431, allocations: 4 kB / 0.5125 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.2433, allocations: 193.5 kB / 0.5127 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2433, allocations: 0 / 0.5127 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.2435, allocations: 23.98 kB / 0.5127 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2435, allocations: 3.938 kB / 0.5127 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2435, allocations: 8 kB / 0.5127 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2435, allocations: 0 / 0.5127 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2435, allocations: 0 / 0.5127 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.2438, allocations: 148.8 kB / 0.5129 GB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.244, allocations: 104.9 kB / 0.513 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.244, allocations: 11.98 kB / 0.513 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.2441, allocations: 0 / 0.513 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-06/0.2441, allocations: 0 / 0.513 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2441, allocations: 4 kB / 0.513 GB, free: 7.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.2442, allocations: 112.6 kB / 0.5131 GB, free: 7.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2442, allocations: 0 / 0.5131 GB, free: 7.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.2446, allocations: 16 kB / 0.5131 GB, free: 7.359 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: 0 () * 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.0007772/0.2453, allocations: 0.7418 MB / 0.5138 GB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.2456, allocations: 80.84 kB / 0.5139 GB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2457, allocations: 4 kB / 0.5139 GB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.2457, allocations: 0 / 0.5139 GB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.2461, allocations: 84.5 kB / 0.514 GB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.2485, allocations: 2.962 MB / 0.5169 GB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2489, allocations: 0.7126 MB / 0.5176 GB, free: 2.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.249, allocations: 8.641 kB / 0.5176 GB, free: 2.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.2491, allocations: 31.48 kB / 0.5176 GB, free: 2.566 MB / 362.7 MB Notification: Performance of SimCode: time 1.753e-06/0.2491, allocations: 4 kB / 0.5176 GB, free: 2.562 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.2719, allocations: 2.159 MB / 0.5197 GB, free: 420 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003468/0.2724, allocations: 206 kB / 0.5199 GB, free: 180 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/2.702, allocations: 0 / 0.5199 GB, free: 180 kB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat