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.001503/0.001503, allocations: 111 kB / 17.06 MB, free: 5.781 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.001654/0.001654, allocations: 199.9 kB / 18 MB, free: 4.953 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.269/1.269, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2402, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002586/0.2429, allocations: 1.776 MB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.2437, allocations: 0.6438 MB / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.2438, allocations: 4 kB / 402.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2439, allocations: 15.86 kB / 402.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.717e-05/0.244, allocations: 35.69 kB / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.2442, allocations: 51.81 kB / 402.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.2444, allocations: 119.4 kB / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2445, allocations: 29.38 kB / 402.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.2446, allocations: 51.78 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.2447, allocations: 43.84 kB / 403 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2447, allocations: 8 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.2448, allocations: 27.98 kB / 403 MB, free: 6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.2448, allocations: 19.92 kB / 403 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.2448, allocations: 55.73 kB / 403.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.245, allocations: 129.3 kB / 403.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.245, allocations: 4 kB / 403.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.245, allocations: 0 / 403.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.245, allocations: 0 / 403.2 MB, free: 5.797 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.0004777/0.2455, allocations: 407.3 kB / 403.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2456, allocations: 12.03 kB / 403.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.2456, allocations: 46.73 kB / 403.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.2458, allocations: 24.77 kB / 403.7 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.246, allocations: 192.2 kB / 403.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.246, allocations: 8.562 kB / 403.9 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.246, allocations: 12.12 kB / 403.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.2462, allocations: 95.53 kB / 404 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2462, allocations: 3.938 kB / 404 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2463, allocations: 4 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2463, allocations: 4 kB / 404 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.2464, allocations: 63.89 kB / 404.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.247, allocations: 447.5 kB / 404.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.2473, allocations: 106.6 kB / 404.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.2473, allocations: 32.78 kB / 404.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2473, allocations: 7.984 kB / 404.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2474, allocations: 34.56 kB / 404.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.364e-06/0.2474, allocations: 0 / 404.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001216/0.2486, allocations: 0.5303 MB / 405.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.2486, allocations: 51.41 kB / 405.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.2487, allocations: 130 kB / 405.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2487, allocations: 37.64 kB / 405.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.2488, allocations: 103.9 kB / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.2488, allocations: 47.34 kB / 405.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.2489, allocations: 29.7 kB / 405.6 MB, free: 3.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.249, allocations: 318.8 kB / 405.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.249, allocations: 31.98 kB / 406 MB, free: 2.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.2491, allocations: 61.92 kB / 406 MB, free: 2.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.2493, allocations: 91.36 kB / 406.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2493, allocations: 0 / 406.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001798/0.2494, allocations: 134.3 kB / 406.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2495, allocations: 7.938 kB / 406.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2495, allocations: 4.062 kB / 406.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2495, allocations: 4 kB / 406.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2496, allocations: 27.98 kB / 406.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2496, allocations: 3.938 kB / 406.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.2497, allocations: 8 kB / 406.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2497, 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 7.975e-05/0.2498, allocations: 121.8 kB / 406.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.2498, allocations: 7.906 kB / 406.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.2499, allocations: 20.36 kB / 406.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2499, allocations: 4 kB / 406.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2499, allocations: 3.938 kB / 406.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2499, allocations: 0 / 406.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.2504, allocations: 420 kB / 406.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2504, allocations: 0 / 406.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.2505, allocations: 27.98 kB / 406.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2505, allocations: 7.938 kB / 406.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2506, allocations: 12 kB / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2506, allocations: 0 / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2506, allocations: 0 / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.2508, allocations: 245.1 kB / 407.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.2509, allocations: 88.95 kB / 407.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2509, allocations: 8 kB / 407.2 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.251, allocations: 4 kB / 407.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.251, allocations: 8.125 kB / 407.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.251, allocations: 11.94 kB / 407.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.2511, allocations: 98.14 kB / 407.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2511, allocations: 0 / 407.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.2513, allocations: 28 kB / 407.4 MB, free: 1.195 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.0004555/0.2518, allocations: 0.7999 MB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.252, allocations: 83.89 kB / 408.3 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.252, allocations: 0 / 408.3 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.252, allocations: 39.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.0003142/0.2524, allocations: 16.58 kB / 408.3 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2541, allocations: 1.824 MB / 410.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2543, allocations: 0.7002 MB / 410.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.2544, allocations: 12.89 kB / 410.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.2544, allocations: 31.42 kB / 410.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2544, allocations: 0 / 410.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5615/0.8159, allocations: 2.598 MB / 413.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.03, allocations: 12.61 kB / 413.5 MB, free: 11.03 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