Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001556, allocations: 185.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 98.84 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 8 kB / 327.1 MB, free: 132 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.508, allocations: 77.1 MB / 451.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.5083, allocations: 71.97 kB / 451.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.52, allocations: 2.583 MB / 454.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.52, allocations: 0 / 454.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.5201, allocations: 4 kB / 454.4 MB, free: 0.9023 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006271/0.5207, allocations: 399.5 kB / 454.8 MB, free: 472 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5208, allocations: 16.03 kB / 454.8 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.769e-05/0.5208, allocations: 34.56 kB / 454.8 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.5211, allocations: 23.89 kB / 454.9 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.5214, allocations: 190.9 kB / 455 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.5214, allocations: 4.188 kB / 455 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.5214, allocations: 15.95 kB / 455.1 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.5217, allocations: 95.09 kB / 455.2 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5217, allocations: 0 / 455.2 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.5218, allocations: 4 kB / 455.2 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5218, allocations: 4 kB / 455.2 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.522, allocations: 68.53 kB / 455.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.5231, allocations: 445.4 kB / 455.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.5235, allocations: 98.64 kB / 455.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.5236, allocations: 3.938 kB / 455.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5236, allocations: 42.55 kB / 455.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.415e-06/0.5236, allocations: 0 / 455.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.002094/0.5257, allocations: 0.5232 MB / 456.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5258, allocations: 55.36 kB / 456.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.5259, allocations: 113.2 kB / 456.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.526, allocations: 25.7 kB / 456.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.5261, allocations: 186.3 kB / 456.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.5261, allocations: 43.3 kB / 456.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.5262, allocations: 4 kB / 456.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5263, allocations: 314.8 kB / 457.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.5264, allocations: 31.92 kB / 457.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.5266, allocations: 56.36 kB / 457.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.5267, allocations: 52.08 kB / 457.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5267, allocations: 0 / 457.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003302/0.5271, allocations: 125.5 kB / 457.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5271, allocations: 8 kB / 457.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5271, allocations: 0 / 457.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.5271, allocations: 4 kB / 457.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.5274, allocations: 31.92 kB / 457.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.5274, allocations: 0 / 457.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.5276, allocations: 12.06 kB / 457.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.5276, allocations: 11.98 kB / 457.4 MB, free: 13.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 17 * 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 0.000136/0.5278, allocations: 117.8 kB / 457.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.5278, allocations: 7.906 kB / 457.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.5279, allocations: 16.38 kB / 457.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5279, allocations: 0 / 457.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5279, allocations: 3.984 kB / 457.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5279, allocations: 0 / 457.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.5288, allocations: 428.1 kB / 457.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.5288, allocations: 8 kB / 457.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.5291, allocations: 23.98 kB / 458 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.5291, allocations: 7.938 kB / 458 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.5292, allocations: 0 / 458 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.5292, allocations: 11.88 kB / 458 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5292, allocations: 4 kB / 458 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.5297, allocations: 272.5 kB / 458.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.5297, allocations: 84.97 kB / 458.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.5298, allocations: 8 kB / 458.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.5299, allocations: 4 kB / 458.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.53, allocations: 11.97 kB / 458.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.53, allocations: 8 kB / 458.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.5301, allocations: 94.14 kB / 458.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5301, allocations: 0 / 458.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.5305, allocations: 28 kB / 458.5 MB, free: 12.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (12): * Single equations (assignments): 12 * 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.0008395/0.5313, allocations: 0.9447 MB / 459.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.5316, allocations: 79.95 kB / 459.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5316, allocations: 0 / 459.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.5318, allocations: 44.11 kB / 459.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.5322, allocations: 13.72 kB / 459.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.5344, allocations: 1.442 MB / 461 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.5348, allocations: 0.7082 MB / 461.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.5349, allocations: 23.44 kB / 461.7 MB, free: 8.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5349, allocations: 4 kB / 461.7 MB, free: 8.977 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.32/2.855, allocations: 1.909 MB / 463.7 MB, free: 7.074 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat