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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 114.4 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001139/0.00114, allocations: 48.14 kB / 280.2 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07858/0.07974, allocations: 46.63 MB / 326.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004021/0.0838, allocations: 1.808 MB / 328.7 MB, free: 2.867 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.08507, allocations: 0.6748 MB / 329.4 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.08523, allocations: 4 kB / 329.4 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.0854, allocations: 7.922 kB / 329.4 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.0855, allocations: 27.78 kB / 329.4 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.08574, allocations: 43.81 kB / 329.4 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.08591, allocations: 123.4 kB / 329.6 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.08606, allocations: 23.97 kB / 329.6 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.08615, allocations: 43.86 kB / 329.6 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.08625, allocations: 55.7 kB / 329.7 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.08628, allocations: 8 kB / 329.7 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.08637, allocations: 31.98 kB / 329.7 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.0864, allocations: 11.94 kB / 329.7 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.08647, allocations: 55.73 kB / 329.8 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.08669, allocations: 127.9 kB / 329.9 MB, free: 1.629 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.0867, allocations: 0 / 329.9 MB, free: 1.629 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.08671, allocations: 0 / 329.9 MB, free: 1.629 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.08673, allocations: 0 / 329.9 MB, free: 1.629 MB / 270.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.0006352/0.08737, allocations: 411.3 kB / 330.3 MB, free: 1.18 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.08743, allocations: 12.03 kB / 330.3 MB, free: 1.168 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.0875, allocations: 38.73 kB / 330.4 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.08772, allocations: 24.83 kB / 330.4 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.08797, allocations: 192.2 kB / 330.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.088, allocations: 12.55 kB / 330.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.08804, allocations: 12.12 kB / 330.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.08826, allocations: 89.66 kB / 330.7 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.08828, allocations: 7.938 kB / 330.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.08831, allocations: 8 kB / 330.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.08832, allocations: 0 / 330.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.08845, allocations: 63.91 kB / 330.8 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.08926, allocations: 481.2 kB / 331.2 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.08959, allocations: 86.53 kB / 331.3 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.08965, allocations: 28.89 kB / 331.4 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.08967, allocations: 3.984 kB / 331.4 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.08973, allocations: 34.56 kB / 331.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.08973, allocations: 0 / 331.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002503/0.08999, allocations: 101.5 kB / 331.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.09004, allocations: 55.5 kB / 331.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.09014, allocations: 121.8 kB / 331.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.09017, allocations: 25.7 kB / 331.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.09027, allocations: 115.9 kB / 331.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.09031, allocations: 31.55 kB / 331.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.09037, allocations: 25.72 kB / 331.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.09049, allocations: 322.8 kB / 332.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.09055, allocations: 24 kB / 332.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.09061, allocations: 47.42 kB / 332.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.09073, allocations: 87.3 kB / 332.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.09074, allocations: 0 / 332.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001651/0.09091, allocations: 109.5 kB / 332.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.09093, allocations: 8 kB / 332.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.09094, allocations: 0 / 332.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.09096, allocations: 4 kB / 332.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.09108, allocations: 27.92 kB / 332.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.0911, allocations: 3.938 kB / 332.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.09119, allocations: 15.84 kB / 332.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.0912, allocations: 4 kB / 332.5 MB, free: 14.78 MB / 286.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.391e-05/0.0913, allocations: 121.9 kB / 332.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.09133, allocations: 7.984 kB / 332.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.09137, allocations: 12.31 kB / 332.6 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.09138, allocations: 7.938 kB / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.09139, allocations: 0 / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.0914, allocations: 0 / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.09161, allocations: 197.5 kB / 332.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.09162, allocations: 0 / 332.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.09176, allocations: 20 kB / 332.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.09177, allocations: 4 kB / 332.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.09179, allocations: 4 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.0918, allocations: 11.86 kB / 332.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0918, allocations: 0 / 332.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.09203, allocations: 203.5 kB / 333.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.09208, allocations: 85.02 kB / 333.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.09211, allocations: 4 kB / 333.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.0922, allocations: 7.938 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.09223, allocations: 4.094 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.09224, allocations: 11.92 kB / 333.2 MB, free: 14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.405e-05/0.0923, allocations: 91.72 kB / 333.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09231, allocations: 0 / 333.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.09255, allocations: 23.94 kB / 333.3 MB, free: 13.88 MB / 286.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000464/0.09302, allocations: 0.7361 MB / 334 MB, free: 13.12 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.09318, allocations: 63.91 kB / 334.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09319, allocations: 4 kB / 334.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.09324, allocations: 31.92 kB / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.09362, allocations: 19.88 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.09538, allocations: 1.74 MB / 335.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.09564, allocations: 0.7041 MB / 336.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.0957, allocations: 4.438 kB / 336.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.09576, allocations: 27.42 kB / 336.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09576, allocations: 0 / 336.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/0.2325, allocations: 2.162 MB / 338.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/0.2328, allocations: 209.7 kB / 339 MB, free: 7.973 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.435, allocations: 0 / 339 MB, free: 7.973 MB / 286.1 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/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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches