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.001545/0.001545, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 89.3 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.413e-05, allocations: 3.938 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3377, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4654, allocations: 76.34 MB / 438.8 MB, free: 9.891 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.4658, allocations: 72.52 kB / 438.8 MB, free: 9.82 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.4771, allocations: 2.551 MB / 441.4 MB, free: 7.293 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4771, allocations: 4 kB / 441.4 MB, free: 7.289 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.4772, allocations: 0 / 441.4 MB, free: 7.289 MB / 331.1 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.0005918/0.4778, allocations: 393.8 kB / 441.8 MB, free: 6.859 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4778, allocations: 12.03 kB / 441.8 MB, free: 6.848 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.4781, allocations: 23.8 kB / 441.8 MB, free: 6.824 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.4784, allocations: 194.9 kB / 442 MB, free: 6.594 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.4784, allocations: 1.203 kB / 442 MB, free: 6.594 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.4784, allocations: 11.95 kB / 442 MB, free: 6.582 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002213/0.4787, allocations: 52.36 kB / 442.1 MB, free: 6.531 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.4789, allocations: 78.98 kB / 442.1 MB, free: 6.449 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4789, allocations: 0 / 442.1 MB, free: 6.449 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4789, allocations: 4 kB / 442.1 MB, free: 6.445 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.479, allocations: 4 kB / 442.1 MB, free: 6.441 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.4799, allocations: 413.8 kB / 442.6 MB, free: 6 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.4803, allocations: 94.73 kB / 442.6 MB, free: 5.902 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.4804, allocations: 32.8 kB / 442.7 MB, free: 5.867 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.4805, allocations: 0 / 442.7 MB, free: 5.867 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4805, allocations: 38.56 kB / 442.7 MB, free: 5.82 MB / 331.1 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.4805, allocations: 0 / 442.7 MB, free: 5.82 MB / 331.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008117/0.4813, allocations: 348.3 kB / 443.1 MB, free: 5.43 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4814, allocations: 59.41 kB / 443.1 MB, free: 5.359 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4815, allocations: 109.2 kB / 443.2 MB, free: 5.242 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4815, allocations: 25.7 kB / 443.2 MB, free: 5.211 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.4817, allocations: 174.3 kB / 443.4 MB, free: 5.039 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.4817, allocations: 43.36 kB / 443.5 MB, free: 4.996 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.4817, allocations: 3.938 kB / 443.5 MB, free: 4.992 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4819, allocations: 314.8 kB / 443.8 MB, free: 4.676 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.482, allocations: 28 kB / 443.8 MB, free: 4.648 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.4821, allocations: 55.42 kB / 443.8 MB, free: 4.582 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.853e-05/0.4822, allocations: 27.98 kB / 443.9 MB, free: 4.555 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4822, allocations: 0 / 443.9 MB, free: 4.555 MB / 331.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002885/0.4825, allocations: 114.4 kB / 444 MB, free: 4.438 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4825, allocations: 6.812 kB / 444 MB, free: 4.434 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4826, allocations: 4 kB / 444 MB, free: 4.43 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4826, allocations: 8.047 kB / 444 MB, free: 4.422 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.4829, allocations: 27.94 kB / 444 MB, free: 4.395 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.4829, allocations: 8.609 kB / 444 MB, free: 4.387 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.483, allocations: 3.938 kB / 444 MB, free: 4.383 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.4831, allocations: 10.72 kB / 444.1 MB, free: 4.375 MB / 331.1 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 () * 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.0001076/0.4832, allocations: 116.8 kB / 444.2 MB, free: 4.254 MB / 331.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002398/0.4834, allocations: 86.47 kB / 444.3 MB, free: 4.164 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.4835, allocations: 7.906 kB / 444.3 MB, free: 4.156 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.4836, allocations: 20.61 kB / 444.3 MB, free: 4.141 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4836, allocations: 0 / 444.3 MB, free: 4.141 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4836, allocations: 4 kB / 444.3 MB, free: 4.137 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4836, allocations: 3.953 kB / 444.3 MB, free: 4.133 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007888/0.4844, allocations: 380.7 kB / 444.7 MB, free: 3.711 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4844, allocations: 0 / 444.7 MB, free: 3.711 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.4848, allocations: 27.98 kB / 444.7 MB, free: 3.684 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.4848, allocations: 4.062 kB / 444.7 MB, free: 3.68 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4848, allocations: 0 / 444.7 MB, free: 3.68 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.4848, allocations: 11.94 kB / 444.7 MB, free: 3.668 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4848, allocations: 0 / 444.7 MB, free: 3.668 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.4853, allocations: 265 kB / 445 MB, free: 3.375 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.4854, allocations: 89.84 kB / 445.1 MB, free: 3.27 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.4854, allocations: 0 / 445.1 MB, free: 3.27 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.4856, allocations: 4 kB / 445.1 MB, free: 3.266 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.4856, allocations: 11.98 kB / 445.1 MB, free: 3.254 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4856, allocations: 0 / 445.1 MB, free: 3.254 MB / 331.1 MB Notification: Performance of sorting global known variables: time 7.582e-05/0.4857, allocations: 93.94 kB / 445.2 MB, free: 3.164 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4857, allocations: 0 / 445.2 MB, free: 3.164 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.4861, allocations: 20 kB / 445.2 MB, free: 3.145 MB / 331.1 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 () * 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.0008302/0.487, allocations: 0.9346 MB / 446.1 MB, free: 2.168 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.4872, allocations: 67.94 kB / 446.2 MB, free: 2.102 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4873, allocations: 0 / 446.2 MB, free: 2.102 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.4874, allocations: 39.94 kB / 446.2 MB, free: 2.062 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.4878, allocations: 16.69 kB / 446.2 MB, free: 2.051 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.489, allocations: 412.8 kB / 446.6 MB, free: 1.605 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.4894, allocations: 0.708 MB / 447.3 MB, free: 0.8711 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4895, allocations: 31.42 kB / 447.4 MB, free: 0.8398 MB / 331.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4895, allocations: 0 / 447.4 MB, free: 0.8398 MB / 331.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.569/3.059, allocations: 1.899 MB / 449.3 MB, free: 14.97 MB / 347.1 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