Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_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.001287/0.001287, allocations: 110.7 kB / 17.28 MB, free: 6.176 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.001533/0.001533, allocations: 189.3 kB / 18.2 MB, free: 5.254 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.433/1.433, 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.001091/0.001091, allocations: 52.12 kB / 280.3 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08927, allocations: 46.62 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003613/0.09292, allocations: 1.824 MB / 328.7 MB, free: 2.859 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.0941, allocations: 0.6748 MB / 329.4 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.09425, allocations: 0 / 329.4 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.995e-05/0.09435, allocations: 11.92 kB / 329.4 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.09444, allocations: 31.7 kB / 329.4 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.09463, allocations: 43.89 kB / 329.5 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.09479, allocations: 123.4 kB / 329.6 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.09493, allocations: 33.38 kB / 329.6 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.095, allocations: 43.8 kB / 329.7 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.418e-05/0.09509, allocations: 47.78 kB / 329.7 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.09512, allocations: 8 kB / 329.7 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.09521, allocations: 35.92 kB / 329.7 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.09523, allocations: 15.92 kB / 329.8 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.09536, allocations: 59.72 kB / 329.8 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.0956, allocations: 131.8 kB / 329.9 MB, free: 1.598 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09561, allocations: 0 / 329.9 MB, free: 1.598 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09562, allocations: 0 / 329.9 MB, free: 1.598 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.09563, allocations: 0 / 329.9 MB, free: 1.598 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.0005598/0.0962, allocations: 407.3 kB / 330.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.09625, allocations: 8.031 kB / 330.4 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.0963, allocations: 42.73 kB / 330.4 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.09652, allocations: 28.83 kB / 330.4 MB, free: 1.066 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.09672, allocations: 196.1 kB / 330.6 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.09674, allocations: 8.562 kB / 330.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.09678, allocations: 12.12 kB / 330.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.09697, allocations: 93.66 kB / 330.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.09699, allocations: 0 / 330.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.09701, allocations: 4 kB / 330.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.09702, allocations: 4 kB / 330.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.09715, allocations: 67.83 kB / 330.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.0979, allocations: 439.7 kB / 331.2 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.09818, allocations: 106.6 kB / 331.3 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.09824, allocations: 33.06 kB / 331.4 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.09826, allocations: 7.938 kB / 331.4 MB, free: 0 / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.0983, allocations: 30.56 kB / 331.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.09831, allocations: 0 / 331.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001403/0.09972, allocations: 0.5309 MB / 331.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.09977, allocations: 63.33 kB / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.09991, allocations: 122 kB / 332.1 MB, free: 15.15 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.09993, allocations: 25.7 kB / 332.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1, allocations: 107.9 kB / 332.2 MB, free: 15.01 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.1, allocations: 55.28 kB / 332.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.1001, allocations: 25.72 kB / 332.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1003, allocations: 322.8 kB / 332.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.1004, allocations: 27.98 kB / 332.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.631e-05/0.1005, allocations: 58.86 kB / 332.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1007, allocations: 107.3 kB / 332.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1007, allocations: 0 / 332.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001903/0.1009, allocations: 133.5 kB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1009, allocations: 4 kB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1009, allocations: 3.938 kB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1009, allocations: 4 kB / 333 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1011, allocations: 31.92 kB / 333 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1011, allocations: 7.938 kB / 333 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.1012, allocations: 4.062 kB / 333 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1012, allocations: 8 kB / 333 MB, free: 14.19 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 (17): * Single equations (assignments): 17 * 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 9.763e-05/0.1013, allocations: 125.8 kB / 333.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1013, allocations: 7.906 kB / 333.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.1014, allocations: 16.36 kB / 333.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1014, allocations: 4 kB / 333.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1014, allocations: 3.938 kB / 333.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1014, allocations: 0 / 333.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.102, allocations: 420.1 kB / 333.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1021, allocations: 0 / 333.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1022, allocations: 31.92 kB / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1022, allocations: 3.938 kB / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1022, allocations: 0 / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.1023, allocations: 4 kB / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1023, allocations: 0 / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.1026, allocations: 265.1 kB / 333.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.1026, allocations: 88.95 kB / 334 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1027, allocations: 0 / 334 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.1028, allocations: 8 kB / 334 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.1028, allocations: 8.031 kB / 334 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1028, allocations: 4 kB / 334 MB, free: 13.11 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.93e-05/0.1029, allocations: 95.77 kB / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1029, allocations: 0 / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1032, allocations: 24 kB / 334.1 MB, free: 12.99 MB / 286.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 () * 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 (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.0005398/0.1037, allocations: 0.7842 MB / 334.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1039, allocations: 87.98 kB / 335 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.104, allocations: 3.938 kB / 335 MB, free: 12.08 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1041, allocations: 39.92 kB / 335 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1045, allocations: 21.03 kB / 335 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1065, allocations: 1.851 MB / 336.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1068, allocations: 0.704 MB / 337.6 MB, free: 9.336 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.1069, allocations: 12.88 kB / 337.6 MB, free: 9.324 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.1069, allocations: 27.44 kB / 337.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1069, allocations: 0 / 337.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.1323, allocations: 2.447 MB / 340.1 MB, free: 6.84 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.1326, allocations: 217.2 kB / 340.3 MB, free: 6.578 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/1.952, allocations: 4 kB / 340.3 MB, free: 6.574 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches