Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001407/0.001407, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008449/0.0008448, allocations: 95.55 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.813e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09295, allocations: 51.47 MB / 395.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.3885, allocations: 76.78 MB / 472 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.3887, allocations: 77.03 kB / 472.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003939/0.3927, allocations: 1.644 MB / 473.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3927, allocations: 0 / 473.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3927, allocations: 4 kB / 473.8 MB, free: 13.25 MB / 346.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.0003016/0.393, allocations: 371.6 kB / 474.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3931, allocations: 8.031 kB / 474.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.3931, allocations: 11.91 kB / 474.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3933, allocations: 214.5 kB / 474.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3933, allocations: 4 kB / 474.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3934, allocations: 11.61 kB / 474.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/0.3935, allocations: 31.39 kB / 474.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.3938, allocations: 177 kB / 474.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3938, allocations: 3.953 kB / 474.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3938, allocations: 4.516 kB / 474.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3938, allocations: 4 kB / 474.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.394, allocations: 158.2 kB / 474.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.3941, allocations: 115.5 kB / 474.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3943, allocations: 65.44 kB / 474.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3943, allocations: 7.375 kB / 474.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3943, allocations: 35.31 kB / 475 MB, free: 12.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.3943, allocations: 0 / 475 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001969/0.3945, allocations: 109 kB / 475.1 MB, free: 12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3946, allocations: 55.97 kB / 475.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.3947, allocations: 127.8 kB / 475.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.3947, allocations: 25.7 kB / 475.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.3947, allocations: 96.64 kB / 475.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.3947, allocations: 11.34 kB / 475.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.3947, allocations: 0 / 475.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.3948, allocations: 325.9 kB / 475.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.3949, allocations: 19.3 kB / 475.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.3949, allocations: 114.7 kB / 475.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.395, allocations: 35.97 kB / 475.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.395, allocations: 0 / 475.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000163/0.3952, allocations: 130 kB / 476 MB, free: 11.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3952, allocations: 8.656 kB / 476 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3952, allocations: 6.719 kB / 476 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3952, allocations: 4 kB / 476 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3953, allocations: 32.02 kB / 476 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3954, allocations: 12.73 kB / 476.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.3954, allocations: 12.31 kB / 476.1 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3954, allocations: 15.56 kB / 476.1 MB, free: 10.99 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 5.708e-05/0.3955, allocations: 109.7 kB / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00012/0.3956, allocations: 109.4 kB / 476.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.3956, allocations: 15.81 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.3957, allocations: 13.38 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3957, allocations: 4 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3957, allocations: 0 / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3957, allocations: 5.078 kB / 476.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.981e-05/0.3958, allocations: 162.2 kB / 476.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3958, allocations: 4 kB / 476.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.3959, allocations: 30.02 kB / 476.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3959, allocations: 0 / 476.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.3959, allocations: 0 / 476.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3959, allocations: 4.797 kB / 476.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3959, allocations: 0 / 476.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.3961, allocations: 131.8 kB / 476.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.3961, allocations: 104.1 kB / 476.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3962, allocations: 0 / 476.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.3962, allocations: 4.75 kB / 476.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-06/0.3962, allocations: 4 kB / 476.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3962, allocations: 0 / 476.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.988e-05/0.3963, allocations: 113.7 kB / 476.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3963, allocations: 0 / 476.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002165/0.3965, allocations: 12 kB / 476.9 MB, free: 10.21 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.0003614/0.3969, allocations: 0.7271 MB / 477.6 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.397, allocations: 71.94 kB / 477.7 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.397, allocations: 0 / 477.7 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.397, allocations: 0 / 477.7 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3973, allocations: 69.02 kB / 477.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.3977, allocations: 191.7 kB / 477.9 MB, free: 9.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3978, allocations: 0.7229 MB / 478.7 MB, free: 8.504 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.111e-05/0.3979, allocations: 14.97 kB / 478.7 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.3979, allocations: 24.08 kB / 478.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3979, allocations: 0 / 478.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.4212, allocations: 1.839 MB / 480.5 MB, free: 7.414 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.4215, allocations: 162.8 kB / 480.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/1.886, allocations: 3 kB / 480.7 MB, free: 7.223 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat