Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 184 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 55.89 kB / 370.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2355, allocations: 52.19 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003145/0.2387, allocations: 1.793 MB / 424.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2398, allocations: 0.6466 MB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.2399, allocations: 0 / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2401, allocations: 15.86 kB / 425.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.2401, allocations: 43.62 kB / 425.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.2404, allocations: 47.88 kB / 425.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.2406, allocations: 119.3 kB / 425.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2407, allocations: 27.95 kB / 425.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.2408, allocations: 47.86 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.2409, allocations: 43.78 kB / 425.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2409, allocations: 8 kB / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.241, allocations: 23.98 kB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.241, allocations: 19.94 kB / 425.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.2411, allocations: 55.78 kB / 426 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.2413, allocations: 128.7 kB / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2413, allocations: 0 / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2413, allocations: 0 / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2413, allocations: 0 / 426.1 MB, free: 11.68 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005569/0.2419, allocations: 330 kB / 426.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2419, allocations: 8.031 kB / 426.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.2421, allocations: 32.81 kB / 426.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.2423, allocations: 134.4 kB / 426.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2423, allocations: 8.5 kB / 426.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.2424, allocations: 16.33 kB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.2426, allocations: 95.45 kB / 426.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2426, allocations: 4 kB / 426.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2426, allocations: 4 kB / 426.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.2426, allocations: 4 kB / 426.7 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.2427, allocations: 51.97 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.2435, allocations: 434.6 kB / 427.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.2438, allocations: 90.55 kB / 427.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.2438, allocations: 24.86 kB / 427.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.2438, allocations: 4 kB / 427.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2438, allocations: 34.56 kB / 427.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2438, allocations: 0 / 427.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002396/0.2441, allocations: 93.89 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.2441, allocations: 67.22 kB / 427.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2442, allocations: 121.7 kB / 427.6 MB, free: 10 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2443, allocations: 29.7 kB / 427.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.2443, allocations: 112 kB / 427.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.2444, allocations: 31.73 kB / 427.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.2444, allocations: 25.7 kB / 427.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2445, allocations: 318.8 kB / 428.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.2446, allocations: 23.98 kB / 428.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.2447, allocations: 47.42 kB / 428.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.2448, allocations: 79.38 kB / 428.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2448, allocations: 0 / 428.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001878/0.245, allocations: 117.5 kB / 428.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.245, allocations: 4 kB / 428.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.245, allocations: 0 / 428.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.245, allocations: 4 kB / 428.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.2451, allocations: 28.08 kB / 428.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2452, allocations: 7.875 kB / 428.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.2452, allocations: 7.953 kB / 428.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.2452, allocations: 4 kB / 428.5 MB, free: 9.125 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 (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.0001011/0.2453, allocations: 121.8 kB / 428.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.2453, allocations: 7.953 kB / 428.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.2454, allocations: 12.38 kB / 428.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2454, allocations: 4 kB / 428.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2454, allocations: 3.938 kB / 428.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2454, allocations: 4 kB / 428.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.2456, allocations: 176.8 kB / 428.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2456, allocations: 96 / 428.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.2458, allocations: 27.92 kB / 428.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2458, allocations: 0 / 428.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2458, allocations: 0 / 428.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2458, allocations: 0 / 428.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2458, allocations: 3.938 kB / 428.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.246, allocations: 211.4 kB / 429 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.246, allocations: 3.953 kB / 429 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2461, allocations: 4 kB / 429 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.2461, allocations: 4 kB / 429 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.2462, allocations: 7.969 kB / 429 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.2462, allocations: 4 kB / 429 MB, free: 8.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.2462, allocations: 91.27 kB / 429.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2462, allocations: 0 / 429.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.2465, allocations: 27.95 kB / 429.2 MB, free: 8.352 MB / 334.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 (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 9.979e-05/0.2466, allocations: 99.34 kB / 429.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.2468, allocations: 59.91 kB / 429.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2468, allocations: 0 / 429.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.2468, allocations: 27.92 kB / 429.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2471, allocations: 19.97 kB / 429.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.2479, allocations: 428 kB / 429.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2483, allocations: 0.7078 MB / 430.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.2483, allocations: 8.422 kB / 430.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.2483, allocations: 15.44 kB / 430.5 MB, free: 6.934 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2483, allocations: 0 / 430.5 MB, free: 6.934 MB / 334.1 MB Notification: Performance of Templates: time 0.003821/0.2522, allocations: 0.9914 MB / 431.5 MB, free: 5.957 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.393839152529836]