Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009752/0.0009754, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 230.3 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009861, allocations: 97.84 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.174e-05, allocations: 4 kB / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 50.42 MB / 387.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2998/0.4081, allocations: 75.98 MB / 463.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4084, allocations: 71.95 kB / 463.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004097/0.4125, allocations: 1.646 MB / 465.3 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4125, allocations: 0 / 465.3 MB, free: 1.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.4125, allocations: 7.938 kB / 465.3 MB, free: 1.113 MB / 330.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.0003413/0.4129, allocations: 375 kB / 465.6 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4129, allocations: 8.031 kB / 465.6 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.413, allocations: 15.91 kB / 465.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.4132, allocations: 203.3 kB / 465.9 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.4132, allocations: 4 kB / 465.9 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.4132, allocations: 4 kB / 465.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001121/0.4134, allocations: 32 kB / 465.9 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.4137, allocations: 196.4 kB / 466.1 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4137, allocations: 3.938 kB / 466.1 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4137, allocations: 7.969 kB / 466.1 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.4138, allocations: 0 / 466.1 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.4139, allocations: 170.2 kB / 466.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.4141, allocations: 110.9 kB / 466.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.4142, allocations: 66.86 kB / 466.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.4142, allocations: 4 kB / 466.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4143, allocations: 34.5 kB / 466.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.4143, allocations: 0 / 466.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002044/0.4145, allocations: 109.7 kB / 466.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.4145, allocations: 55.41 kB / 466.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4147, allocations: 126.2 kB / 466.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.4147, allocations: 29.7 kB / 466.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.4147, allocations: 92.45 kB / 466.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.4147, allocations: 8 kB / 466.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.4148, allocations: 0 / 466.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4149, allocations: 322.8 kB / 467.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.4149, allocations: 12 kB / 467.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.415, allocations: 122.7 kB / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.4151, allocations: 35.92 kB / 467.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4151, allocations: 0 / 467.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001741/0.4152, allocations: 141.2 kB / 467.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4153, allocations: 4 kB / 467.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4153, allocations: 4 kB / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4153, allocations: 4 kB / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.4154, allocations: 40.42 kB / 467.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4154, allocations: 11.98 kB / 467.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.4155, allocations: 7.938 kB / 467.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4155, allocations: 8 kB / 467.6 MB, free: 14.53 MB / 346.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 () * 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 6.666e-05/0.4156, allocations: 108.9 kB / 467.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001441/0.4157, allocations: 115.5 kB / 467.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.4158, allocations: 15.75 kB / 467.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.4158, allocations: 20.73 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4158, allocations: 0 / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4158, allocations: 4 kB / 467.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4158, allocations: 4 kB / 467.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.416, allocations: 158.1 kB / 468 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.416, allocations: 3.953 kB / 468 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.4161, allocations: 27.94 kB / 468 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4161, allocations: 0 / 468 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4161, allocations: 8 kB / 468 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4161, allocations: 3.984 kB / 468 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4161, allocations: 0 / 468 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4163, allocations: 136.9 kB / 468.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.4164, allocations: 104.9 kB / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.4164, allocations: 0 / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.4164, allocations: 0 / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-06/0.4164, allocations: 0 / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4164, allocations: 7.938 kB / 468.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.404e-05/0.4165, allocations: 106.5 kB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4165, allocations: 0 / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.4167, allocations: 12 kB / 468.4 MB, free: 13.63 MB / 346.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 () * 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.0005279/0.4173, allocations: 0.717 MB / 469.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.4174, allocations: 79.8 kB / 469.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4174, allocations: 5 kB / 469.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.4174, allocations: 0 / 469.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.4177, allocations: 70.48 kB / 469.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.4182, allocations: 204.3 kB / 469.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4185, allocations: 0.7162 MB / 470.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.054e-05/0.4185, allocations: 4.781 kB / 470.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.4186, allocations: 31.42 kB / 470.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4186, allocations: 4 kB / 470.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.4403, allocations: 1.828 MB / 472.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/0.4407, allocations: 165.4 kB / 472.2 MB, free: 9.711 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/1.883, allocations: 0 / 472.2 MB, free: 9.711 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat