Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.88 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2209, allocations: 50.54 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003027/0.2239, allocations: 1.982 MB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.225, allocations: 0.6935 MB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.2252, allocations: 0 / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2253, allocations: 23.8 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.2254, allocations: 43.62 kB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.2256, allocations: 51.81 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.2258, allocations: 143.3 kB / 412.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.226, allocations: 29.11 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.2261, allocations: 63.7 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.2262, allocations: 55.78 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.2262, allocations: 12 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-05/0.2263, allocations: 27.98 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.2263, allocations: 19.92 kB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.2264, allocations: 63.67 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.2266, allocations: 147.4 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2266, allocations: 0 / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2266, allocations: 3.938 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2266, allocations: 0 / 413.3 MB, free: 14.27 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.0006045/0.2272, allocations: 444.2 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2273, allocations: 8.031 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.2275, allocations: 24.83 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.2277, allocations: 204 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2277, allocations: 8.375 kB / 413.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.2277, allocations: 12.38 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.228, allocations: 125.4 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.228, allocations: 4 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2281, allocations: 0 / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2281, allocations: 4 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.2284, allocations: 99.8 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.2292, allocations: 0.5243 MB / 414.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.2295, allocations: 98.61 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2296, allocations: 44.95 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2297, allocations: 7.938 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.2297, allocations: 34.56 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2297, allocations: 0 / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004333/0.2301, allocations: 145.5 kB / 415 MB, free: 12.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.2302, allocations: 51.41 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.2303, allocations: 136.8 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2303, allocations: 25.7 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.2303, allocations: 120.1 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.2304, allocations: 35.55 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.2304, allocations: 29.72 kB / 415.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.2305, allocations: 318.8 kB / 415.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2307, allocations: 35.97 kB / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.2308, allocations: 67.41 kB / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.231, allocations: 111.3 kB / 415.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2311, allocations: 4 kB / 415.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003174/0.2314, allocations: 153.4 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2314, allocations: 4 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2314, allocations: 0 / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2314, allocations: 4 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2316, allocations: 27.98 kB / 416.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2316, allocations: 0 / 416.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.905e-05/0.2317, allocations: 23.83 kB / 416.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2317, allocations: 4 kB / 416.2 MB, free: 11.12 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 8.208e-05/0.2318, allocations: 129.8 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.2319, allocations: 11.84 kB / 416.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.2319, allocations: 16.72 kB / 416.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2319, allocations: 3.984 kB / 416.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2319, allocations: 384 / 416.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.232, allocations: 85.02 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.232, allocations: 3.938 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2321, allocations: 7.984 kB / 416.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.2322, allocations: 15.94 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004354/0.2326, allocations: 212.7 kB / 416.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000465/0.2331, allocations: 342.6 kB / 417 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001305/0.2332, allocations: 36.02 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.75e-05/0.2333, allocations: 106.2 kB / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.2333, allocations: 0 / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004981/0.2338, allocations: 150.3 kB / 417.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008659/0.2347, allocations: 0.9115 MB / 418.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of Templates: time 0.00402/0.2387, allocations: 1.609 MB / 419.8 MB, free: 7.414 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,inertia.phi,heatCapacitor.T,eddyCurrentTorque.lossPower Variables in the result:eddyCurrentTorque.T,eddyCurrentTorque.TRef,eddyCurrentTorque.alpha20,eddyCurrentTorque.constantExcitation,eddyCurrentTorque.lossPower,eddyCurrentTorque.phi,eddyCurrentTorque.tau_nominal,eddyCurrentTorque.useExcitationInput,eddyCurrentTorque.w_nominal,heatCapacitor.C,heatCapacitor.T,inertia.J,inertia.phi,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time