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.00104/0.00104, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.2 MB / 245 MB, free: 5.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009358/0.0009359, allocations: 100.7 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002044/0.0002045, allocations: 4 kB / 358 MB, free: 9.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1898, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08481/0.2747, allocations: 77.52 MB / 487 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.275, allocations: 75.95 kB / 487.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004375/0.2794, allocations: 1.652 MB / 488.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2794, allocations: 0 / 488.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.2794, allocations: 4 kB / 488.7 MB, free: 11.34 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.0004039/0.2798, allocations: 389.1 kB / 489.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2799, allocations: 12.03 kB / 489.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.28, allocations: 50.55 kB / 489.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.28, allocations: 11.81 kB / 489.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.2802, allocations: 206.6 kB / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2802, allocations: 3.953 kB / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2803, allocations: 12 kB / 489.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.2807, allocations: 201.4 kB / 489.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2807, allocations: 3.953 kB / 489.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.2807, allocations: 11.98 kB / 489.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2807, allocations: 4 kB / 489.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.2808, allocations: 31.92 kB / 489.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.281, allocations: 197.5 kB / 489.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2812, allocations: 129.9 kB / 490 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2812, allocations: 4 kB / 490 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2812, allocations: 34.56 kB / 490 MB, free: 9.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.2813, allocations: 3.938 kB / 490 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002872/0.2815, allocations: 145.5 kB / 490.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.2816, allocations: 63.59 kB / 490.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2817, allocations: 130.1 kB / 490.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2818, allocations: 29.7 kB / 490.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.2818, allocations: 92.47 kB / 490.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.2818, allocations: 11.92 kB / 490.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.2818, allocations: 8 kB / 490.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.2819, allocations: 318.8 kB / 490.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.282, allocations: 19.98 kB / 490.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.2821, allocations: 117.7 kB / 490.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.61e-05/0.2821, allocations: 39.92 kB / 491 MB, free: 8.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2821, allocations: 4 kB / 491 MB, free: 8.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001991/0.2823, allocations: 157.2 kB / 491.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2824, allocations: 8 kB / 491.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2824, allocations: 4 kB / 491.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2824, allocations: 4 kB / 491.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.2825, allocations: 31.92 kB / 491.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2825, allocations: 12.45 kB / 491.2 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.2826, allocations: 12 kB / 491.2 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2826, allocations: 8 kB / 491.2 MB, free: 8.594 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 9.533e-05/0.2827, allocations: 133.7 kB / 491.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2828, allocations: 121.4 kB / 491.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.2829, allocations: 21.17 kB / 491.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2829, allocations: 4 kB / 491.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2829, allocations: 0 / 491.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2829, allocations: 3.953 kB / 491.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.283, allocations: 189.5 kB / 491.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.283, allocations: 4 kB / 491.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.2831, allocations: 23.98 kB / 491.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2832, allocations: 0 / 491.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2832, allocations: 7.938 kB / 491.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2832, allocations: 4 kB / 491.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2832, allocations: 0 / 491.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2834, allocations: 151.7 kB / 491.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.2834, allocations: 108.8 kB / 492 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2835, allocations: 0 / 492 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.2835, allocations: 16 kB / 492 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-06/0.2835, allocations: 0 / 492 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2835, allocations: 0 / 492 MB, free: 7.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.2836, allocations: 114.8 kB / 492.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2836, allocations: 0 / 492.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.2838, allocations: 16 kB / 492.1 MB, free: 7.598 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.0004895/0.2843, allocations: 0.7333 MB / 492.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.2845, allocations: 87.78 kB / 492.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2845, allocations: 0 / 492.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2845, allocations: 1.062 kB / 492.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.2848, allocations: 85.64 kB / 493 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2863, allocations: 2.975 MB / 496 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.2865, allocations: 0.7204 MB / 496.7 MB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.844e-05/0.2865, allocations: 8.438 kB / 496.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.2866, allocations: 35.36 kB / 496.8 MB, free: 2.789 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2866, allocations: 0 / 496.8 MB, free: 2.789 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.2996, allocations: 2.132 MB / 498.9 MB, free: 0.832 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.2998, allocations: 211.2 kB / 499.1 MB, free: 0.582 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.835, allocations: 3.375 kB / 499.1 MB, free: 0.582 MB / 362.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