Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 114.5 kB / 21.18 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 206.1 kB / 24.48 MB, free: 4.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002959/0.002959, allocations: 67.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2207, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003449/0.2241, allocations: 2.018 MB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2253, allocations: 0.6974 MB / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.2254, allocations: 3.938 kB / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2255, allocations: 27.78 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2256, allocations: 35.64 kB / 434.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.2259, allocations: 63.78 kB / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.2261, allocations: 143.3 kB / 435 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2262, allocations: 21.11 kB / 435 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.2263, allocations: 51.8 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.2264, allocations: 59.75 kB / 435.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.2264, allocations: 11.94 kB / 435.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.2265, allocations: 27.98 kB / 435.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.2265, allocations: 27.86 kB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.2266, allocations: 55.73 kB / 435.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.2269, allocations: 153.3 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2269, allocations: 3.984 kB / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2269, allocations: 4 kB / 435.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2269, allocations: 0 / 435.4 MB, free: 3.977 MB / 334.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.0007002/0.2276, allocations: 434.8 kB / 435.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2276, allocations: 8.031 kB / 435.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.2278, allocations: 28.86 kB / 435.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.2281, allocations: 216.1 kB / 436.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2281, allocations: 8.375 kB / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.2281, allocations: 8.375 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.2284, allocations: 121.5 kB / 436.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2284, allocations: 0 / 436.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2284, allocations: 4 kB / 436.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2284, allocations: 4 kB / 436.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.2287, allocations: 83.94 kB / 436.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.2297, allocations: 0.5244 MB / 436.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.23, allocations: 102.6 kB / 437 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.2301, allocations: 32.84 kB / 437 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2301, allocations: 7.938 kB / 437 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2302, allocations: 34.69 kB / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2302, allocations: 0 / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004754/0.2306, allocations: 153.4 kB / 437.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.2307, allocations: 59.41 kB / 437.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2308, allocations: 129.8 kB / 437.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2308, allocations: 25.7 kB / 437.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.2309, allocations: 120.2 kB / 437.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.2309, allocations: 35.7 kB / 437.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.231, allocations: 29.7 kB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2311, allocations: 318.8 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2313, allocations: 35.98 kB / 437.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.2314, allocations: 69.77 kB / 438 MB, free: 1.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.2317, allocations: 111.3 kB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2317, allocations: 0 / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003415/0.232, allocations: 145.4 kB / 438.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2321, allocations: 7.125 kB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2321, allocations: 0 / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.2321, allocations: 7.938 kB / 438.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.2322, allocations: 40 kB / 438.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2323, allocations: 4 kB / 438.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.2324, allocations: 15.94 kB / 438.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2324, allocations: 4 kB / 438.3 MB, free: 0.8398 MB / 334.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 0.0001025/0.2325, allocations: 125.8 kB / 438.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.2325, allocations: 11.89 kB / 438.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.2325, allocations: 16.72 kB / 438.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2326, allocations: 0 / 438.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2326, allocations: 0 / 438.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.2326, allocations: 93.02 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.2326, allocations: 0 / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.2328, allocations: 7.984 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2328, allocations: 11.98 kB / 438.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004827/0.2333, allocations: 205.2 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000553/0.2338, allocations: 350.7 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001307/0.234, allocations: 39.95 kB / 439.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.351e-05/0.234, allocations: 99.27 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Backend: time 1.7e-07/0.234, allocations: 0 / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005231/0.2346, allocations: 158.2 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 0.001016/0.2356, allocations: 0.8954 MB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Templates: time 0.004708/0.2403, allocations: 1.673 MB / 442 MB, free: 13.08 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.188780599273741]