Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008945/0.0008944, allocations: 121.7 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001945/0.0001945, allocations: 4 kB / 358 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1777, allocations: 51.49 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08665/0.2644, allocations: 78.37 MB / 487.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.2646, allocations: 67.97 kB / 487.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006129/0.2708, allocations: 2.284 MB / 490.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2708, allocations: 0 / 490.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2708, allocations: 0 / 490.2 MB, free: 9.91 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004922/0.2713, allocations: 411.1 kB / 490.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2713, allocations: 8.031 kB / 490.6 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.2714, allocations: 42.55 kB / 490.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.2714, allocations: 15.75 kB / 490.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.2716, allocations: 191 kB / 490.9 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2716, allocations: 12.17 kB / 490.9 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.2717, allocations: 11.95 kB / 490.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.2719, allocations: 131.8 kB / 491 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.272, allocations: 4 kB / 491 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.272, allocations: 7.938 kB / 491 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.272, allocations: 4 kB / 491 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.2722, allocations: 75.94 kB / 491.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.273, allocations: 0.5404 MB / 491.7 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2732, allocations: 82.53 kB / 491.7 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.2732, allocations: 4 kB / 491.7 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2732, allocations: 38.56 kB / 491.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2733, allocations: 0 / 491.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003967/0.2737, allocations: 145.6 kB / 491.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2737, allocations: 55.41 kB / 492 MB, free: 7.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.2738, allocations: 114.5 kB / 492.1 MB, free: 7.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2738, allocations: 25.7 kB / 492.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.675e-05/0.2739, allocations: 111.9 kB / 492.2 MB, free: 7.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.2739, allocations: 27.55 kB / 492.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.2739, allocations: 8 kB / 492.3 MB, free: 7.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.274, allocations: 318.8 kB / 492.6 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.2742, allocations: 35.98 kB / 492.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.2743, allocations: 68.27 kB / 492.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.2744, allocations: 51.91 kB / 492.7 MB, free: 7.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2744, allocations: 4 kB / 492.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002819/0.2747, allocations: 145.4 kB / 492.9 MB, free: 7.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2747, allocations: 4 kB / 492.9 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2748, allocations: 0 / 492.9 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2748, allocations: 4 kB / 492.9 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.2749, allocations: 31.97 kB / 492.9 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.275, allocations: 4 kB / 492.9 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.791e-05/0.275, allocations: 27.92 kB / 492.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.2751, allocations: 4 kB / 492.9 MB, free: 6.934 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.385e-05/0.2752, allocations: 121.7 kB / 493.1 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.2752, allocations: 7.953 kB / 493.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.2752, allocations: 16.47 kB / 493.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2752, allocations: 3.938 kB / 493.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2752, allocations: 0 / 493.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2752, allocations: 0 / 493.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2755, allocations: 201.5 kB / 493.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2755, allocations: 4 kB / 493.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.2756, allocations: 23.98 kB / 493.3 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2756, allocations: 0 / 493.3 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2756, allocations: 3.953 kB / 493.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2756, allocations: 0 / 493.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2757, allocations: 3.984 kB / 493.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.2761, allocations: 247.3 kB / 493.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.2761, allocations: 85.02 kB / 493.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2761, allocations: 4 kB / 493.6 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.2762, allocations: 15.98 kB / 493.7 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.2763, allocations: 4 kB / 493.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2763, allocations: 8.094 kB / 493.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.059e-05/0.2764, allocations: 99.42 kB / 493.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2764, allocations: 0 / 493.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.2766, allocations: 23.94 kB / 493.8 MB, free: 5.984 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006574/0.2773, allocations: 0.7865 MB / 494.6 MB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.2775, allocations: 87.94 kB / 494.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2776, allocations: 0 / 494.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.2777, allocations: 44.16 kB / 494.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2779, allocations: 26.17 kB / 494.7 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2795, allocations: 1.481 MB / 496.2 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.2798, allocations: 0.7004 MB / 496.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.2798, allocations: 8.422 kB / 496.9 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.2799, allocations: 23.44 kB / 496.9 MB, free: 2.711 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2799, allocations: 4 kB / 496.9 MB, free: 2.707 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.2921, allocations: 2.02 MB / 499 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.2923, allocations: 191.1 kB / 499.2 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.859, allocations: 0 / 499.2 MB, free: 0.6016 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat