Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001941/0.001941, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002394/0.002394, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 47.94 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 53.33 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003379/0.1074, allocations: 1.995 MB / 428.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1086, allocations: 0.7013 MB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.1087, allocations: 0 / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.1088, allocations: 23.8 kB / 429.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.1089, allocations: 39.62 kB / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1091, allocations: 55.8 kB / 429.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1093, allocations: 147.3 kB / 429.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1095, allocations: 17.12 kB / 429.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.1096, allocations: 55.78 kB / 429.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1097, allocations: 67.69 kB / 429.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1097, allocations: 11.94 kB / 429.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.1098, allocations: 24 kB / 429.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.1098, allocations: 23.92 kB / 429.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.1099, allocations: 67.66 kB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1101, allocations: 147.4 kB / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1101, allocations: 0 / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1101, allocations: 0 / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1101, allocations: 0 / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007497/0.1109, allocations: 442.8 kB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1109, allocations: 8.031 kB / 430.6 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.1111, allocations: 28.88 kB / 430.6 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1114, allocations: 204.1 kB / 430.8 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1114, allocations: 8.375 kB / 430.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.1114, allocations: 12.36 kB / 430.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.1118, allocations: 121.6 kB / 431 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1118, allocations: 7.938 kB / 431 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1118, allocations: 4 kB / 431 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1118, allocations: 4 kB / 431 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1943/0.3061, allocations: 83.09 kB / 431.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.307, allocations: 0.5206 MB / 431.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.3074, allocations: 102.5 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3075, allocations: 40.02 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.3075, allocations: 0.6562 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.3075, allocations: 32.66 kB / 431.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.3075, allocations: 0.6562 kB / 431.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004881/0.308, allocations: 150.4 kB / 431.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.3081, allocations: 53.94 kB / 431.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.3082, allocations: 137.1 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.3082, allocations: 28.95 kB / 432.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.3082, allocations: 112.2 kB / 432.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.3082, allocations: 41.38 kB / 432.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.3083, allocations: 29.2 kB / 432.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.3084, allocations: 319.7 kB / 432.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3085, allocations: 39.58 kB / 432.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3086, allocations: 65.55 kB / 432.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3089, allocations: 104.7 kB / 432.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3089, allocations: 1.375 kB / 432.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003156/0.3092, allocations: 150.2 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3092, allocations: 6.312 kB / 433 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3092, allocations: 1.031 kB / 433 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3092, allocations: 5.938 kB / 433 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3094, allocations: 36.39 kB / 433 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3094, allocations: 1.219 kB / 433 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.712e-05/0.3095, allocations: 17.45 kB / 433 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3095, allocations: 7.594 kB / 433 MB, free: 10.3 MB / 350.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 (14): * Single equations (assignments): 14 * 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 6.172e-05/0.3096, allocations: 117.2 kB / 433.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3096, allocations: 12.17 kB / 433.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.3096, allocations: 20.45 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.3096, allocations: 2.75 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3096, allocations: 0 / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3097, allocations: 1.688 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3098, allocations: 214.8 kB / 433.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3098, allocations: 1.031 kB / 433.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.31, allocations: 27.14 kB / 433.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.31, allocations: 3.781 kB / 433.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.31, allocations: 11 kB / 433.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.31, allocations: 0 / 433.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.31, allocations: 1.5 kB / 433.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3104, allocations: 258.8 kB / 433.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.3105, allocations: 91.41 kB / 433.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3105, allocations: 10.56 kB / 433.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3106, allocations: 8.172 kB / 433.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.3107, allocations: 9.859 kB / 433.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3107, allocations: 2.781 kB / 433.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.052e-05/0.3107, allocations: 101.6 kB / 433.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3107, allocations: 1.625 kB / 433.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000266/0.311, allocations: 29.94 kB / 433.9 MB, free: 9.668 MB / 350.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 (9): * Single equations (assignments): 9 * 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 8.553e-05/0.3111, allocations: 95.19 kB / 434 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.3114, allocations: 91.36 kB / 434.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3114, allocations: 0 / 434.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.3115, allocations: 42.83 kB / 434.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3118, allocations: 23.91 kB / 434.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.3125, allocations: 472 kB / 434.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3127, allocations: 0.7086 MB / 435.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.3127, allocations: 14.59 kB / 435.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.3127, allocations: 12.31 kB / 435.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3127, allocations: 0.6562 kB / 435.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of Templates: time 0.003949/0.3167, allocations: 1.203 MB / 436.6 MB, free: 8.508 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.572642724961042]