Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2428, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002809/0.2457, allocations: 1.998 MB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.2466, allocations: 0.6935 MB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.2467, allocations: 0 / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.2468, allocations: 23.8 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.2469, allocations: 39.62 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.2472, allocations: 51.8 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.2473, allocations: 147.3 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2475, allocations: 41.08 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.2476, allocations: 51.8 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.2477, allocations: 55.77 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.2477, allocations: 8 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.2478, allocations: 27.98 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.2478, allocations: 31.84 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.398e-05/0.2479, allocations: 59.67 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.2481, allocations: 151.4 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2481, allocations: 4 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2481, allocations: 4 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2481, allocations: 3.938 kB / 413.3 MB, free: 14.2 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.0006197/0.2488, allocations: 436.2 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2488, allocations: 12.03 kB / 413.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.249, allocations: 32.73 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.2492, allocations: 212 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2492, allocations: 8.375 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.2493, allocations: 12.38 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.2495, allocations: 117.5 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2496, allocations: 3.906 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2496, allocations: 4 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2496, allocations: 4 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.2499, allocations: 99.88 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.2507, allocations: 491.3 kB / 414.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.251, allocations: 122.5 kB / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2511, allocations: 48.83 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2512, allocations: 4 kB / 414.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.2512, allocations: 30.56 kB / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.2512, allocations: 0 / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009768/0.2522, allocations: 489.3 kB / 415.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2522, allocations: 55.41 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.2523, allocations: 132.6 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2523, allocations: 29.7 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.2524, allocations: 112.2 kB / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.2524, allocations: 43.36 kB / 415.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.2525, allocations: 37.7 kB / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2526, allocations: 322.8 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2527, allocations: 39.97 kB / 416.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.2529, allocations: 78 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.2532, allocations: 127.3 kB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2532, allocations: 0 / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003409/0.2535, allocations: 169.4 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2535, allocations: 7.938 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2536, allocations: 4.062 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2536, allocations: 7.984 kB / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.2538, allocations: 35.92 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2538, allocations: 4 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2539, allocations: 11.98 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2539, allocations: 4 kB / 416.6 MB, free: 10.63 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 (18): * Single equations (assignments): 18 * 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 9.148e-05/0.254, allocations: 129.7 kB / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.254, allocations: 11.84 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.009e-05/0.2541, allocations: 24.78 kB / 416.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2541, allocations: 7.984 kB / 416.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2541, allocations: 0 / 416.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.2542, allocations: 81.02 kB / 416.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.2542, allocations: 4 kB / 416.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2543, allocations: 11.98 kB / 416.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.2544, allocations: 4 kB / 416.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004836/0.2549, allocations: 240.7 kB / 417.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005092/0.2554, allocations: 374.3 kB / 417.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001392/0.2555, allocations: 51.94 kB / 417.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.912e-05/0.2556, allocations: 111.2 kB / 417.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of Backend: time 3e-07/0.2556, allocations: 0 / 417.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.2561, allocations: 167.8 kB / 417.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008616/0.257, allocations: 0.9003 MB / 418.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of Templates: time 0.004351/0.2614, allocations: 1.765 MB / 420.4 MB, free: 6.688 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:eddyCurrentForce.T,eddyCurrentForce.TRef,eddyCurrentForce.alpha20,eddyCurrentForce.constantExcitation,eddyCurrentForce.f_nominal,eddyCurrentForce.lossPower,eddyCurrentForce.useExcitationInput,eddyCurrentForce.v_nominal,heatCapacitor.C,heatCapacitor.T,mass.L,mass.m,mass.s,mass.stateSelect,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time