Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_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.001608/0.001608, allocations: 113.8 kB / 17.06 MB, free: 6.012 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.001751/0.001751, allocations: 189.4 kB / 18 MB, free: 5.098 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.374/1.374, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 48.06 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2471, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002938/0.2501, allocations: 1.78 MB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2512, allocations: 0.6366 MB / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.2513, allocations: 0 / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2514, allocations: 27.78 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.2515, allocations: 31.7 kB / 402.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2518, allocations: 51.81 kB / 402.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.252, allocations: 123.4 kB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2521, allocations: 33.38 kB / 402.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.2522, allocations: 43.8 kB / 402.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2523, allocations: 47.84 kB / 403 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.2523, allocations: 8 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.2524, allocations: 27.98 kB / 403 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.2524, allocations: 19.91 kB / 403 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.2525, allocations: 55.73 kB / 403.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2527, allocations: 126.6 kB / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2527, allocations: 0 / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2527, allocations: 0 / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.2527, allocations: 0 / 403.2 MB, free: 5.809 MB / 318.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.0005717/0.2533, allocations: 415.2 kB / 403.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2534, allocations: 12.02 kB / 403.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.2534, allocations: 38.75 kB / 403.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.2536, allocations: 32.83 kB / 403.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.2538, allocations: 196.2 kB / 403.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2539, allocations: 8.562 kB / 403.9 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.2539, allocations: 12.12 kB / 403.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.2541, allocations: 93.66 kB / 404 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2541, allocations: 4 kB / 404 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2541, allocations: 4 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2542, allocations: 3.938 kB / 404 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2543, allocations: 75.77 kB / 404.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.255, allocations: 435.8 kB / 404.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.2553, allocations: 106.6 kB / 404.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.2554, allocations: 36.78 kB / 404.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.2554, allocations: 0 / 404.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.2554, allocations: 34.56 kB / 404.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2554, allocations: 0 / 404.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001305/0.2567, allocations: 0.5306 MB / 405.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2568, allocations: 51.41 kB / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2569, allocations: 128.8 kB / 405.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2569, allocations: 29.7 kB / 405.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.257, allocations: 107.9 kB / 405.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.2571, allocations: 51.59 kB / 405.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.2571, allocations: 29.7 kB / 405.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2573, allocations: 322.8 kB / 405.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.2573, allocations: 20 kB / 406 MB, free: 2.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.035e-05/0.2574, allocations: 63.41 kB / 406 MB, free: 2.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.2576, allocations: 99.31 kB / 406.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2576, allocations: 0 / 406.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002028/0.2578, allocations: 130.4 kB / 406.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2578, allocations: 8 kB / 406.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2578, allocations: 64 / 406.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2578, allocations: 4 kB / 406.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.258, allocations: 35.92 kB / 406.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.258, allocations: 7.922 kB / 406.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.2581, allocations: 8 kB / 406.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2581, allocations: 4 kB / 406.3 MB, free: 2.398 MB / 318.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 0.0001092/0.2582, allocations: 125.8 kB / 406.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.2582, allocations: 11.89 kB / 406.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.2583, allocations: 12.38 kB / 406.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2583, allocations: 8 kB / 406.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2583, allocations: 3.938 kB / 406.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2583, allocations: 0 / 406.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.2589, allocations: 424.1 kB / 406.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2589, allocations: 11.92 kB / 406.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.259, allocations: 27.94 kB / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.259, allocations: 3.938 kB / 406.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2591, allocations: 16.05 kB / 406.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2591, allocations: 0 / 406.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2591, allocations: 0 / 406.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.2594, allocations: 241.1 kB / 407.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.2595, allocations: 89 kB / 407.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2595, allocations: 4.031 kB / 407.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.2596, allocations: 12 kB / 407.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.2596, allocations: 4 kB / 407.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2596, allocations: 0 / 407.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.2597, allocations: 99.27 kB / 407.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.256e-06/0.2597, allocations: 0 / 407.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.2599, allocations: 23.94 kB / 407.4 MB, free: 1.191 MB / 318.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.0005919/0.2605, allocations: 0.7962 MB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.2607, allocations: 79.95 kB / 408.3 MB, free: 292 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2607, allocations: 0 / 408.3 MB, free: 292 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.2608, allocations: 43.92 kB / 408.3 MB, free: 248 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.2611, allocations: 27.55 kB / 408.3 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.2631, allocations: 1.83 MB / 410.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2634, allocations: 0.7041 MB / 410.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.2635, allocations: 16.81 kB / 410.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.2636, allocations: 23.44 kB / 410.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2636, allocations: 4 kB / 410.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.3006, allocations: 2.581 MB / 413.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.783, allocations: 4.562 kB / 413.5 MB, free: 11.04 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches