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.001062/0.001062, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001079/0.001079, allocations: 190.9 kB / 18.68 MB, free: 4.41 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.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009662/0.0009662, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2167, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002734/0.2195, allocations: 1.769 MB / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009683/0.2205, allocations: 0.6349 MB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.2206, allocations: 0 / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.2207, allocations: 15.86 kB / 403.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.2208, allocations: 39.69 kB / 403.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.221, allocations: 51.8 kB / 403.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.2212, allocations: 119.3 kB / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2213, allocations: 35.97 kB / 404.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.2214, allocations: 47.8 kB / 404.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.2215, allocations: 47.77 kB / 404.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2215, allocations: 8 kB / 404.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.2216, allocations: 23.98 kB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.2216, allocations: 19.94 kB / 404.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.2217, allocations: 51.73 kB / 404.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.2219, allocations: 123.5 kB / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2219, allocations: 0 / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2219, allocations: 0 / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2219, allocations: 0 / 404.4 MB, free: 5.867 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.0004917/0.2224, allocations: 412.5 kB / 404.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2224, allocations: 11.89 kB / 404.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.2226, allocations: 28.81 kB / 404.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.2228, allocations: 200.1 kB / 405 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.2229, allocations: 4.562 kB / 405 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.2229, allocations: 12.38 kB / 405 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.2231, allocations: 98.91 kB / 405.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2231, allocations: 0 / 405.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2231, allocations: 4 kB / 405.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2231, allocations: 0 / 405.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.2233, allocations: 63.91 kB / 405.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.2239, allocations: 481.1 kB / 405.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.2242, allocations: 90.58 kB / 405.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.2242, allocations: 20.86 kB / 405.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.2243, allocations: 0 / 405.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2243, allocations: 34.61 kB / 405.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2243, allocations: 0 / 405.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002209/0.2245, allocations: 97.61 kB / 405.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.2246, allocations: 55.41 kB / 406 MB, free: 4.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.2246, allocations: 121.8 kB / 406.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2247, allocations: 25.7 kB / 406.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.2247, allocations: 115.9 kB / 406.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.2248, allocations: 31.55 kB / 406.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.2248, allocations: 29.7 kB / 406.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.2249, allocations: 314.8 kB / 406.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.225, allocations: 27.92 kB / 406.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.225, allocations: 54.05 kB / 406.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.2251, allocations: 75.38 kB / 406.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2252, allocations: 0 / 406.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001682/0.2253, allocations: 117.5 kB / 406.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2253, allocations: 8 kB / 406.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2254, allocations: 3.938 kB / 406.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2254, allocations: 0 / 406.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2255, allocations: 31.92 kB / 406.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.2255, allocations: 8.25 kB / 406.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.2256, allocations: 8 kB / 406.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2256, allocations: 0 / 406.9 MB, free: 3.082 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 8.224e-05/0.2257, allocations: 117.8 kB / 407 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.2257, allocations: 8 kB / 407 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.2258, allocations: 16.38 kB / 407 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2258, allocations: 0 / 407 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2258, allocations: 0 / 407 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.2258, allocations: 96.88 kB / 407.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2258, allocations: 3.938 kB / 407.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.2259, allocations: 4 kB / 407.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.226, allocations: 4 kB / 407.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002722/0.2262, allocations: 176.9 kB / 407.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002516/0.2265, allocations: 286.6 kB / 407.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.517e-05/0.2266, allocations: 31.97 kB / 407.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.2266, allocations: 95.64 kB / 407.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of Backend: time 3.51e-07/0.2266, allocations: 0 / 407.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.227, allocations: 142.4 kB / 407.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008173/0.2279, allocations: 0.8626 MB / 408.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of Templates: time 0.003507/0.2314, allocations: 1.258 MB / 410 MB, free: 15.9 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/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