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.0009004/0.0009004, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0008884/0.0008884, allocations: 168.3 kB / 25.33 MB, free: 9.445 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 0.8215/0.8215, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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.403e-06/1.403e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.211e-05, allocations: 2.312 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002482/0.002505, allocations: 1.805 MB / 252.8 MB, free: 1.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.003431, allocations: 0.6746 MB / 253.5 MB, free: 1.109 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.003516, allocations: 7.938 kB / 253.5 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.00365, allocations: 15.86 kB / 253.5 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.003724, allocations: 31.7 kB / 253.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.003957, allocations: 59.73 kB / 253.6 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.004126, allocations: 131.3 kB / 253.7 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004235, allocations: 19.97 kB / 253.8 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.004313, allocations: 59.89 kB / 253.8 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.007425, allocations: 35.89 kB / 253.9 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.007448, allocations: 8 kB / 253.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.528e-05/0.007523, allocations: 23.98 kB / 253.9 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.007545, allocations: 23.91 kB / 253.9 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.007586, allocations: 31.94 kB / 253.9 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.007769, allocations: 107.6 kB / 254.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.007771, allocations: 0 / 254.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007772, allocations: 0 / 254.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.007776, allocations: 0 / 254.1 MB, free: 0.5625 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.0004406/0.008217, allocations: 432.3 kB / 254.5 MB, free: 108 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.008252, allocations: 15.98 kB / 254.5 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.008428, allocations: 32.88 kB / 254.5 MB, free: 60 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.008597, allocations: 136.4 kB / 254.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.008611, allocations: 16.5 kB / 254.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.008637, allocations: 12.38 kB / 254.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.008773, allocations: 82.34 kB / 254.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.008784, allocations: 0 / 254.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.008797, allocations: 4 kB / 254.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.008807, allocations: 4 kB / 254.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.008893, allocations: 35.97 kB / 254.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.009541, allocations: 434.7 kB / 255.2 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.009734, allocations: 75.02 kB / 255.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.00977, allocations: 23.88 kB / 255.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.009779, allocations: 3.984 kB / 255.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.0098, allocations: 37.39 kB / 255.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.009801, allocations: 0 / 255.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.000189/0.00999, allocations: 81.58 kB / 255.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.01002, allocations: 51.41 kB / 255.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.0101, allocations: 178.2 kB / 255.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.01011, allocations: 25.7 kB / 255.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.01018, allocations: 162.7 kB / 255.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.0102, allocations: 35.73 kB / 255.9 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003049/0.01325, allocations: 31.38 kB / 255.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01337, allocations: 0.4883 MB / 256.4 MB, free: 14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.0134, allocations: 12 kB / 256.4 MB, free: 13.99 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.321e-05/0.01345, allocations: 54.73 kB / 256.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.01354, allocations: 74.61 kB / 256.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.01354, allocations: 8 kB / 256.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001394/0.01368, allocations: 97.52 kB / 256.7 MB, free: 13.72 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.0137, allocations: 10.97 kB / 256.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.0137, allocations: 3.984 kB / 256.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01371, allocations: 0 / 256.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.0138, allocations: 23.94 kB / 256.7 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.0138, allocations: 4 kB / 256.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.01385, allocations: 11.89 kB / 256.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.01385, allocations: 3.938 kB / 256.7 MB, free: 13.67 MB / 250.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 7.442e-05/0.01393, allocations: 168.5 kB / 256.9 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.01396, allocations: 20.03 kB / 256.9 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.01398, allocations: 12.44 kB / 256.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01399, allocations: 0 / 256.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01399, allocations: 0 / 256.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01399, allocations: 0 / 256.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01414, allocations: 148.5 kB / 257 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01414, allocations: 0 / 257 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.948e-05/0.01423, allocations: 27.92 kB / 257.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.01423, allocations: 0 / 257.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01424, allocations: 0 / 257.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.01424, allocations: 0 / 257.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01424, allocations: 4 kB / 257.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.01442, allocations: 239.8 kB / 257.3 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.01443, allocations: 15.89 kB / 257.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.01445, allocations: 0 / 257.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.0145, allocations: 0 / 257.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.01452, allocations: 7.984 kB / 257.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.01452, allocations: 0 / 257.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.646e-05/0.01457, allocations: 139.2 kB / 257.5 MB, free: 12.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01457, allocations: 0 / 257.5 MB, free: 12.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.01481, allocations: 27.95 kB / 257.5 MB, free: 12.81 MB / 250.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 6.772e-05/0.01487, allocations: 99.19 kB / 257.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.01499, allocations: 59.58 kB / 257.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01499, allocations: 0 / 257.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.01503, allocations: 31.67 kB / 257.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.0153, allocations: 16.47 kB / 257.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.01609, allocations: 361.5 kB / 258.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.386e-05/0.01613, allocations: 67.33 kB / 258.1 MB, free: 12.12 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.01617, allocations: 12.44 kB / 258.1 MB, free: 12.11 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.0162, allocations: 12.5 kB / 258.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0162, allocations: 0 / 258.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of Templates: time 0.00591/0.02211, allocations: 0.9786 MB / 259.1 MB, free: 11.13 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.482256160117686]