Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.003097/0.003097, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002596/0.002596, allocations: 158.1 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.152e-05, allocations: 2.312 kB / 250.3 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003261/0.003293, allocations: 1.776 MB / 252.1 MB, free: 6.055 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.004628, allocations: 0.6747 MB / 252.8 MB, free: 5.371 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.004712, allocations: 4 kB / 252.8 MB, free: 5.367 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.004851, allocations: 11.86 kB / 252.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.004937, allocations: 39.64 kB / 252.9 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.005165, allocations: 51.8 kB / 252.9 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.005354, allocations: 127.3 kB / 253 MB, free: 5.141 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.005466, allocations: 23.92 kB / 253 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.005581, allocations: 59.88 kB / 253.1 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.005687, allocations: 43.89 kB / 253.2 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.00571, allocations: 8 kB / 253.2 MB, free: 5.008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.005798, allocations: 16 kB / 253.2 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.00583, allocations: 23.91 kB / 253.2 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.005886, allocations: 39.92 kB / 253.2 MB, free: 4.93 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.006146, allocations: 131.6 kB / 253.4 MB, free: 4.801 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.00615, allocations: 0 / 253.4 MB, free: 4.801 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006151, allocations: 0 / 253.4 MB, free: 4.801 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.006155, allocations: 0 / 253.4 MB, free: 4.801 MB / 234.7 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.0006698/0.006825, allocations: 440 kB / 253.8 MB, free: 4.336 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.00686, allocations: 11.98 kB / 253.8 MB, free: 4.324 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.007082, allocations: 32.81 kB / 253.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.007295, allocations: 144.5 kB / 254 MB, free: 4.125 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.007314, allocations: 8.562 kB / 254 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.007341, allocations: 8.375 kB / 254 MB, free: 4.109 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.00754, allocations: 94.28 kB / 254.1 MB, free: 4.012 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.007556, allocations: 4 kB / 254.1 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.007569, allocations: 4 kB / 254.1 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007574, allocations: 3.938 kB / 254.1 MB, free: 4 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.007735, allocations: 55.97 kB / 254.2 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.008563, allocations: 458.7 kB / 254.6 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.008857, allocations: 91 kB / 254.7 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.008915, allocations: 31.72 kB / 254.7 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.00893, allocations: 4 kB / 254.7 MB, free: 3.316 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.00896, allocations: 33.39 kB / 254.8 MB, free: 3.273 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.008961, allocations: 0 / 254.8 MB, free: 3.273 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.000268/0.009229, allocations: 97.78 kB / 254.9 MB, free: 3.172 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.009274, allocations: 55.41 kB / 254.9 MB, free: 3.105 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.009436, allocations: 185.8 kB / 255.1 MB, free: 2.906 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.009462, allocations: 33.7 kB / 255.1 MB, free: 2.867 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.009574, allocations: 158.7 kB / 255.3 MB, free: 2.707 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.009624, allocations: 35.69 kB / 255.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.009692, allocations: 35.36 kB / 255.3 MB, free: 2.629 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002767/0.009969, allocations: 0.4961 MB / 255.8 MB, free: 2.121 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.01002, allocations: 20 kB / 255.9 MB, free: 2.102 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.01011, allocations: 62.75 kB / 255.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.01028, allocations: 102.6 kB / 256 MB, free: 1.906 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01028, allocations: 4 kB / 256 MB, free: 1.902 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002066/0.01048, allocations: 113.5 kB / 256.1 MB, free: 1.785 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.0105, allocations: 4 kB / 256.1 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.0105, allocations: 0 / 256.1 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01052, allocations: 4 kB / 256.1 MB, free: 1.777 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.01065, allocations: 23.98 kB / 256.2 MB, free: 1.754 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01066, allocations: 0 / 256.2 MB, free: 1.754 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.01073, allocations: 19.89 kB / 256.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.01073, allocations: 4 kB / 256.2 MB, free: 1.73 MB / 234.7 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 0.0001421/0.01088, allocations: 180.5 kB / 256.4 MB, free: 1.539 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.01091, allocations: 11.95 kB / 256.4 MB, free: 1.527 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.01096, allocations: 12.42 kB / 256.4 MB, free: 1.516 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01096, allocations: 3.938 kB / 256.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01097, allocations: 0 / 256.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.01097, allocations: 0 / 256.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.0112, allocations: 164.5 kB / 256.6 MB, free: 1.316 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0112, allocations: 0 / 256.6 MB, free: 1.316 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.01134, allocations: 19.98 kB / 256.6 MB, free: 1.297 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01134, allocations: 4 kB / 256.6 MB, free: 1.293 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01135, allocations: 0 / 256.6 MB, free: 1.293 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01136, allocations: 4 kB / 256.6 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01136, allocations: 0 / 256.6 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.0117, allocations: 263.8 kB / 256.8 MB, free: 1.012 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.01172, allocations: 7.953 kB / 256.9 MB, free: 1.004 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.01174, allocations: 4 kB / 256.9 MB, free: 1 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.01181, allocations: 0 / 256.9 MB, free: 1 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.01184, allocations: 7.984 kB / 256.9 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.01184, allocations: 0 / 256.9 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.806e-05/0.01194, allocations: 139.2 kB / 257 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01194, allocations: 0 / 257 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.01219, allocations: 35.89 kB / 257 MB, free: 0.8203 MB / 234.7 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.0001219/0.01232, allocations: 91.25 kB / 257.1 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.01251, allocations: 71.59 kB / 257.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01251, allocations: 0 / 257.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.01257, allocations: 39.62 kB / 257.2 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.01288, allocations: 24.42 kB / 257.3 MB, free: 0.582 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.01361, allocations: 353.6 kB / 257.6 MB, free: 212 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.01371, allocations: 88.27 kB / 257.7 MB, free: 100 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.01375, allocations: 8.5 kB / 257.7 MB, free: 92 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.01378, allocations: 16.5 kB / 257.7 MB, free: 76 kB / 234.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01378, allocations: 0 / 257.7 MB, free: 76 kB / 234.7 MB Notification: Performance of Templates: time 0.004039/0.01782, allocations: 0.9278 MB / 258.6 MB, free: 15.15 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2798304840689525]