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: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001155/0.001155, allocations: 191 kB / 18 MB, free: 5.207 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.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 47.92 kB / 351.3 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2362, allocations: 49.42 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003432/0.2397, allocations: 1.769 MB / 402.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2409, allocations: 0.6387 MB / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2411, allocations: 0 / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2412, allocations: 19.8 kB / 403.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2414, allocations: 39.69 kB / 403.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.2417, allocations: 51.81 kB / 403.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.2419, allocations: 119.4 kB / 403.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.2421, allocations: 35.95 kB / 403.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.2422, allocations: 43.86 kB / 403.4 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2423, allocations: 47.77 kB / 403.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.2423, allocations: 8 kB / 403.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.2424, allocations: 27.92 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.2424, allocations: 19.94 kB / 403.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.2425, allocations: 47.8 kB / 403.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.2427, allocations: 127.5 kB / 403.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2427, allocations: 0 / 403.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.2427, allocations: 0 / 403.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2428, allocations: 0 / 403.7 MB, free: 5.918 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.0005972/0.2434, allocations: 404.6 kB / 404.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2434, allocations: 11.89 kB / 404.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2436, allocations: 28.77 kB / 404.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.244, allocations: 208.1 kB / 404.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.244, allocations: 4.562 kB / 404.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.244, allocations: 12.38 kB / 404.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.2443, allocations: 95.09 kB / 404.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2443, allocations: 4 kB / 404.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.2443, allocations: 0 / 404.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2444, allocations: 0 / 404.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.2445, allocations: 67.95 kB / 404.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.2454, allocations: 481.1 kB / 405 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.2456, allocations: 86.52 kB / 405.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.2457, allocations: 24.86 kB / 405.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2457, allocations: 48 / 405.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.2458, allocations: 46.55 kB / 405.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2459, allocations: 0 / 405.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002671/0.2461, allocations: 89.62 kB / 405.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2462, allocations: 59.28 kB / 405.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2463, allocations: 125.8 kB / 405.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2463, allocations: 25.7 kB / 405.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.2464, allocations: 111.8 kB / 405.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2465, allocations: 31.7 kB / 405.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.2465, allocations: 29.7 kB / 405.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2467, allocations: 318.8 kB / 405.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.2467, allocations: 23.98 kB / 405.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.2468, allocations: 51.42 kB / 406 MB, free: 3.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2469, allocations: 75.38 kB / 406.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2469, allocations: 0 / 406.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001887/0.2471, allocations: 113.5 kB / 406.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2472, allocations: 8 kB / 406.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2472, allocations: 0 / 406.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.2472, allocations: 4 kB / 406.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2473, allocations: 23.98 kB / 406.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2474, allocations: 11.81 kB / 406.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.2474, allocations: 8 kB / 406.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.2474, allocations: 8.094 kB / 406.2 MB, free: 3.125 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 (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 9.824e-05/0.2475, allocations: 113.8 kB / 406.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.2476, allocations: 7.906 kB / 406.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.2476, allocations: 16.36 kB / 406.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2476, allocations: 0 / 406.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.2477, allocations: 7.922 kB / 406.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2477, allocations: 4 kB / 406.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.2479, allocations: 197.5 kB / 406.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2479, allocations: 96 / 406.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.248, allocations: 27.92 kB / 406.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2481, allocations: 0 / 406.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2481, allocations: 11.94 kB / 406.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2481, allocations: 0 / 406.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.2481, allocations: 3.938 kB / 406.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.2484, allocations: 199.4 kB / 406.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.2484, allocations: 81.11 kB / 406.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.2485, allocations: 8.047 kB / 406.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.2485, allocations: 7.984 kB / 406.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.2486, allocations: 7.938 kB / 406.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2486, allocations: 4 kB / 406.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.818e-05/0.2487, allocations: 91.27 kB / 407 MB, free: 2.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2487, allocations: 0 / 407 MB, free: 2.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.2489, allocations: 27.91 kB / 407 MB, free: 2.23 MB / 318.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.0001137/0.249, allocations: 103.1 kB / 407.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.2492, allocations: 67.97 kB / 407.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2492, allocations: 0 / 407.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.2493, allocations: 24 kB / 407.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.2496, allocations: 15.98 kB / 407.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.2505, allocations: 422.9 kB / 407.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2508, allocations: 0.7078 MB / 408.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.368e-05/0.2508, allocations: 8.422 kB / 408.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.2509, allocations: 11.44 kB / 408.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2509, allocations: 3.938 kB / 408.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of Templates: time 0.003589/0.2545, allocations: 0.9431 MB / 409.3 MB, free: 15.89 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (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 & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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