Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_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.001236/0.001236, allocations: 112.5 kB / 16.51 MB, free: 6.707 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.001299/0.001299, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009319/0.000932, allocations: 46.7 kB / 300.1 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07882/0.07976, allocations: 49.45 MB / 349.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002764/0.08256, allocations: 1.813 MB / 351.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008388/0.08341, allocations: 0.6465 MB / 352 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.08348, allocations: 0 / 352 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.08362, allocations: 11.92 kB / 352 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.08369, allocations: 31.7 kB / 352 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.08387, allocations: 43.89 kB / 352.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.084, allocations: 111.4 kB / 352.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.08411, allocations: 31.91 kB / 352.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.08416, allocations: 43.78 kB / 352.2 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.08424, allocations: 43.84 kB / 352.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.08428, allocations: 8 kB / 352.3 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.08436, allocations: 20 kB / 352.3 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.08438, allocations: 11.92 kB / 352.3 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.08443, allocations: 51.73 kB / 352.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.08459, allocations: 123.9 kB / 352.5 MB, free: 1.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.0846, allocations: 0 / 352.5 MB, free: 1.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.08461, allocations: 0 / 352.5 MB, free: 1.535 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.08462, allocations: 0 / 352.5 MB, free: 1.535 MB / 286.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.0004705/0.08509, allocations: 411.4 kB / 352.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.08513, allocations: 8.031 kB / 352.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.08518, allocations: 38.75 kB / 352.9 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.08536, allocations: 24.81 kB / 353 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.08553, allocations: 192.2 kB / 353.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.08554, allocations: 8.562 kB / 353.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.08557, allocations: 12.12 kB / 353.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.08574, allocations: 89.66 kB / 353.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.08576, allocations: 11.89 kB / 353.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.08578, allocations: 4 kB / 353.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.08579, allocations: 4 kB / 353.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.08591, allocations: 59.84 kB / 353.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.08659, allocations: 485.3 kB / 353.8 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.08684, allocations: 86.58 kB / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.08689, allocations: 28.89 kB / 353.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.08691, allocations: 4 kB / 353.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.08694, allocations: 34.56 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 2.474e-06/0.08695, allocations: 0 / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002119/0.08716, allocations: 101.7 kB / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.08722, allocations: 59.34 kB / 354.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.08734, allocations: 121.8 kB / 354.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.08737, allocations: 25.7 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.08743, allocations: 111.9 kB / 354.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.08747, allocations: 31.5 kB / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.08752, allocations: 25.7 kB / 354.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.08764, allocations: 314.8 kB / 354.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.08769, allocations: 23.98 kB / 354.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.08777, allocations: 59.36 kB / 354.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.08788, allocations: 75.31 kB / 354.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.08789, allocations: 0 / 354.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/0.08805, allocations: 117.5 kB / 355 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.08807, allocations: 4 kB / 355 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.08808, allocations: 0 / 355 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.0881, allocations: 4 kB / 355 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.08822, allocations: 31.86 kB / 355 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.08824, allocations: 0 / 355 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.238e-05/0.08832, allocations: 15.84 kB / 355.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.08834, allocations: 4 kB / 355.1 MB, free: 14.69 MB / 302.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.187e-05/0.08843, allocations: 117.9 kB / 355.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.08846, allocations: 7.906 kB / 355.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.08851, allocations: 20.36 kB / 355.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.08852, allocations: 3.938 kB / 355.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.08853, allocations: 3.938 kB / 355.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.08853, allocations: 0 / 355.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.08874, allocations: 189.6 kB / 355.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.08875, allocations: 0 / 355.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.08888, allocations: 23.98 kB / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.08889, allocations: 0 / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.0889, allocations: 4 kB / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.08891, allocations: 7.938 kB / 355.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.08892, allocations: 4 kB / 355.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.08916, allocations: 199.4 kB / 355.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.08922, allocations: 89.05 kB / 355.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.08924, allocations: 96 / 355.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.08933, allocations: 15.88 kB / 355.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.08936, allocations: 7.938 kB / 355.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.08937, allocations: 4 kB / 355.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.08942, allocations: 99.2 kB / 355.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08943, allocations: 0 / 355.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.08967, allocations: 27.94 kB / 355.9 MB, free: 13.79 MB / 302.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.000447/0.09013, allocations: 0.7323 MB / 356.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.09027, allocations: 71.89 kB / 356.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.09028, allocations: 0 / 356.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.09032, allocations: 31.94 kB / 356.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.09065, allocations: 23.92 kB / 356.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.09232, allocations: 1.731 MB / 358.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.09261, allocations: 0.7082 MB / 359.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.09267, allocations: 8.422 kB / 359.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.09273, allocations: 31.42 kB / 359.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09273, allocations: 0 / 359.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/0.3356, allocations: 2.092 MB / 361.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.336, allocations: 205.9 kB / 361.5 MB, free: 8.066 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.107, allocations: 3.938 kB / 361.5 MB, free: 8.062 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches