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.001748/0.001748, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.002126/0.002126, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.001711/0.001711, allocations: 51.92 kB / 374.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1135, allocations: 53.34 MB / 427.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003788/0.1173, allocations: 1.985 MB / 429.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1186, allocations: 0.7013 MB / 430.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1188, allocations: 8 kB / 430.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.1189, allocations: 19.8 kB / 430.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.1191, allocations: 39.62 kB / 430.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1194, allocations: 55.81 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1196, allocations: 143.3 kB / 430.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1198, allocations: 29.09 kB / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1199, allocations: 47.86 kB / 430.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.12, allocations: 59.64 kB / 430.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1201, allocations: 16 kB / 430.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1202, allocations: 27.98 kB / 430.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.1202, allocations: 27.91 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.1203, allocations: 59.67 kB / 430.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.1206, allocations: 147.4 kB / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1206, allocations: 0 / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1206, allocations: 0 / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1206, allocations: 0 / 430.8 MB, free: 0.9414 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.0007444/0.1213, allocations: 442.8 kB / 431.3 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1213, allocations: 12.03 kB / 431.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.1216, allocations: 24.88 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1219, allocations: 206.7 kB / 431.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1219, allocations: 8.375 kB / 431.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.1219, allocations: 20.3 kB / 431.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1223, allocations: 113.6 kB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1223, allocations: 0 / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1223, allocations: 4 kB / 431.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1223, allocations: 4 kB / 431.6 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2144/0.3367, allocations: 87.14 kB / 431.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3377, allocations: 0.5214 MB / 432.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3381, allocations: 100.8 kB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3382, allocations: 39.97 kB / 432.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3382, allocations: 5.438 kB / 432.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3382, allocations: 33.64 kB / 432.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3382, allocations: 0 / 432.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004831/0.3387, allocations: 148.7 kB / 432.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.3387, allocations: 52.66 kB / 432.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3388, allocations: 136 kB / 432.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3389, allocations: 31.3 kB / 432.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.3389, allocations: 117.5 kB / 432.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3389, allocations: 37.25 kB / 432.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.339, allocations: 27.27 kB / 433 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.339, allocations: 322.1 kB / 433.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3392, allocations: 36.52 kB / 433.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3393, allocations: 65 kB / 433.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3395, allocations: 111.3 kB / 433.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3395, allocations: 0 / 433.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003071/0.3398, allocations: 148.2 kB / 433.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3399, allocations: 6.031 kB / 433.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3399, allocations: 6.25 kB / 433.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3399, allocations: 5.062 kB / 433.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.34, allocations: 34.17 kB / 433.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3401, allocations: 5.531 kB / 433.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.557e-05/0.3401, allocations: 18.38 kB / 433.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3402, allocations: 3.812 kB / 433.7 MB, free: 10.28 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.459e-05/0.3402, allocations: 119.6 kB / 433.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.3403, allocations: 9.641 kB / 433.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.3403, allocations: 21.14 kB / 433.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3403, allocations: 0 / 433.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3403, allocations: 1.781 kB / 433.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3403, allocations: 5.359 kB / 433.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3405, allocations: 209.3 kB / 434.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3405, allocations: 0.7656 kB / 434.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.3407, allocations: 34.61 kB / 434.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3407, allocations: 0 / 434.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3407, allocations: 5.25 kB / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3407, allocations: 0 / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3407, allocations: 0 / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.3411, allocations: 272.2 kB / 434.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.3411, allocations: 87.09 kB / 434.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.3411, allocations: 3.938 kB / 434.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3412, allocations: 11.97 kB / 434.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.3413, allocations: 7.969 kB / 434.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.3413, allocations: 3.906 kB / 434.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.107e-05/0.3413, allocations: 100.5 kB / 434.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3413, allocations: 0 / 434.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.3416, allocations: 27.88 kB / 434.6 MB, free: 9.648 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.511e-05/0.3417, allocations: 98.5 kB / 434.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.3419, allocations: 91.89 kB / 434.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3419, allocations: 0 / 434.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3421, allocations: 51.83 kB / 434.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.3424, allocations: 19.58 kB / 434.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.3431, allocations: 496.9 kB / 435.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3432, allocations: 0.7109 MB / 436.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.3433, allocations: 16.41 kB / 436.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3433, allocations: 0 / 436.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of Templates: time 0.003442/0.3467, allocations: 1.566 MB / 437.6 MB, free: 8.434 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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: 7.1286586390051525]