Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007948/0.0007948, allocations: 106.5 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002339, allocations: 11.98 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1946, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08505/0.2798, allocations: 77.33 MB / 486.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.28, allocations: 75.95 kB / 486.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003084/0.2831, allocations: 1.281 MB / 488.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2831, allocations: 0.9688 kB / 488.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.2831, allocations: 0 / 488.2 MB, free: 11.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003296/0.2835, allocations: 370.8 kB / 488.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2835, allocations: 8.031 kB / 488.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.2836, allocations: 38.55 kB / 488.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.2836, allocations: 15.75 kB / 488.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.2838, allocations: 186.8 kB / 488.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2838, allocations: 8 kB / 488.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.2838, allocations: 7.953 kB / 488.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.2841, allocations: 123.2 kB / 488.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.2841, allocations: 0 / 488.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2841, allocations: 7.984 kB / 488.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2841, allocations: 0 / 488.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.777e-05/0.2842, allocations: 15.94 kB / 488.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.2843, allocations: 165.7 kB / 489.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2845, allocations: 70.75 kB / 489.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.2845, allocations: 3.953 kB / 489.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2845, allocations: 34.56 kB / 489.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.2845, allocations: 0 / 489.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001771/0.2847, allocations: 89.67 kB / 489.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2848, allocations: 59.41 kB / 489.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.2849, allocations: 124 kB / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2849, allocations: 33.7 kB / 489.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.2849, allocations: 84.14 kB / 489.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.2849, allocations: 0 / 489.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.2849, allocations: 0 / 489.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.285, allocations: 322.8 kB / 489.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.2851, allocations: 8 kB / 489.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.517e-05/0.2851, allocations: 62.8 kB / 490 MB, free: 9.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.2851, allocations: 16 kB / 490 MB, free: 9.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2851, allocations: 4 kB / 490 MB, free: 9.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001229/0.2853, allocations: 97.38 kB / 490.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2853, allocations: 7.953 kB / 490.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2853, allocations: 4 kB / 490.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2853, allocations: 4 kB / 490.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.2854, allocations: 12 kB / 490.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.2854, allocations: 3.938 kB / 490.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.2855, allocations: 16.09 kB / 490.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.2855, allocations: 4 kB / 490.1 MB, free: 9.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.201e-05/0.2856, allocations: 129.8 kB / 490.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.2856, allocations: 69.59 kB / 490.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.2857, allocations: 16.86 kB / 490.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2857, allocations: 0 / 490.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2857, allocations: 3.938 kB / 490.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2857, allocations: 0 / 490.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.977e-05/0.2858, allocations: 173.6 kB / 490.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2858, allocations: 8 kB / 490.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.2859, allocations: 12 kB / 490.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2859, allocations: 0 / 490.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2859, allocations: 0 / 490.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.2859, allocations: 7.953 kB / 490.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2859, allocations: 0 / 490.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.286, allocations: 105.4 kB / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.2861, allocations: 93 kB / 490.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2861, allocations: 0 / 490.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.2862, allocations: 4 kB / 490.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-06/0.2862, allocations: 3.953 kB / 490.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.2862, allocations: 4 kB / 490.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.2862, allocations: 107.2 kB / 490.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2863, allocations: 0 / 490.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.2865, allocations: 8 kB / 490.9 MB, free: 8.895 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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004028/0.2869, allocations: 0.6591 MB / 491.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.287, allocations: 47.86 kB / 491.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.287, allocations: 0 / 491.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.287, allocations: 0 / 491.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.2872, allocations: 38.25 kB / 491.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.2883, allocations: 1.573 MB / 493.2 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2885, allocations: 0.6965 MB / 493.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.425e-05/0.2886, allocations: 7.984 kB / 493.9 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.2886, allocations: 19.44 kB / 493.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2886, allocations: 0 / 493.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.3004, allocations: 1.462 MB / 495.4 MB, free: 4.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.3006, allocations: 196.6 kB / 495.6 MB, free: 4.164 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/1.75, allocations: 3.094 kB / 495.6 MB, free: 4.164 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat