Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_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.001492/0.001492, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008527/0.0008527, allocations: 82.72 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.002e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09561, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4375, allocations: 76.57 MB / 439.7 MB, free: 2.758 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.4377, allocations: 76.08 kB / 439.8 MB, free: 2.719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006586/0.4443, allocations: 2.478 MB / 442.3 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4444, allocations: 0 / 442.3 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.4444, allocations: 0 / 442.3 MB, free: 0.6602 MB / 314.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.0004216/0.4448, allocations: 390.3 kB / 442.7 MB, free: 244 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4449, allocations: 8.031 kB / 442.7 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.445, allocations: 23.89 kB / 442.7 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.4452, allocations: 188.9 kB / 442.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4453, allocations: 4 kB / 442.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.4453, allocations: 7.984 kB / 442.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001363/0.4454, allocations: 53.14 kB / 442.9 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4456, allocations: 80.05 kB / 443 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4456, allocations: 4 kB / 443 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4456, allocations: 4 kB / 443 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4456, allocations: 0 / 443 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.4463, allocations: 450.5 kB / 443.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.4465, allocations: 78.16 kB / 443.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.4466, allocations: 26.38 kB / 443.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.4466, allocations: 48 / 443.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4466, allocations: 34.55 kB / 443.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.4466, allocations: 0 / 443.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000189/0.4468, allocations: 78.16 kB / 443.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.4468, allocations: 55.41 kB / 443.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.4469, allocations: 107.8 kB / 443.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.447, allocations: 25.7 kB / 443.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.447, allocations: 106 kB / 444 MB, free: 14.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.4471, allocations: 30.98 kB / 444 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.4471, allocations: 0 / 444 MB, free: 14.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4472, allocations: 326.3 kB / 444.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.4472, allocations: 18.69 kB / 444.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.4473, allocations: 47.69 kB / 444.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.525e-05/0.4474, allocations: 23.05 kB / 444.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4474, allocations: 3.938 kB / 444.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001379/0.4475, allocations: 101.3 kB / 444.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4475, allocations: 4 kB / 444.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4475, allocations: 4 kB / 444.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4476, allocations: 4.094 kB / 444.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.4477, allocations: 27.92 kB / 444.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4477, allocations: 4 kB / 444.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.4478, allocations: 7.906 kB / 444.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.4478, allocations: 10.89 kB / 444.6 MB, free: 14.34 MB / 330.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 () * 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.462e-05/0.4479, allocations: 108.9 kB / 444.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001131/0.448, allocations: 75.5 kB / 444.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.448, allocations: 3.906 kB / 444.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.4481, allocations: 22.75 kB / 444.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4481, allocations: 0 / 444.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4481, allocations: 3.953 kB / 444.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4481, allocations: 0 / 444.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.4483, allocations: 171.5 kB / 445 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4483, allocations: 0 / 445 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.4485, allocations: 19.98 kB / 445 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4485, allocations: 0 / 445 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4485, allocations: 0 / 445 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4485, allocations: 4 kB / 445 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4485, allocations: 0 / 445 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.4487, allocations: 205.2 kB / 445.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.4488, allocations: 80.33 kB / 445.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.4488, allocations: 3.984 kB / 445.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.4489, allocations: 4.094 kB / 445.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.4489, allocations: 7.922 kB / 445.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.4489, allocations: 7.984 kB / 445.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.449, allocations: 91.16 kB / 445.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.449, allocations: 4 kB / 445.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000241/0.4492, allocations: 31.84 kB / 445.4 MB, free: 13.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0005095/0.4498, allocations: 0.7294 MB / 446.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.4499, allocations: 51.81 kB / 446.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4499, allocations: 192 / 446.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.4499, allocations: 29.81 kB / 446.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.4502, allocations: 14.78 kB / 446.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.4509, allocations: 350.2 kB / 446.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.4512, allocations: 0.7041 MB / 447.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.4513, allocations: 12.42 kB / 447.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.4514, allocations: 24.06 kB / 447.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4514, allocations: 0 / 447.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.472, allocations: 1.633 MB / 448.9 MB, free: 9.93 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.4723, allocations: 157.4 kB / 449.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.158, allocations: 3.938 kB / 449.1 MB, free: 9.723 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat