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.001064/0.001064, 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.001345/0.001345, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 63.89 kB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2095, allocations: 50.56 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002818/0.2124, allocations: 1.99 MB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.2133, allocations: 0.6974 MB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.2134, allocations: 4 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2135, allocations: 19.8 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.2136, allocations: 39.58 kB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2138, allocations: 59.86 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.214, allocations: 143.3 kB / 412.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.2142, allocations: 33.11 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.2142, allocations: 55.72 kB / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.2143, allocations: 59.77 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.2144, allocations: 12 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.2145, allocations: 27.98 kB / 413.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.2145, allocations: 31.84 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.2146, allocations: 63.67 kB / 413.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2148, allocations: 147.4 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2148, allocations: 0 / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2148, allocations: 0 / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2148, allocations: 0 / 413.3 MB, free: 14.25 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.0006235/0.2154, allocations: 448.2 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.2155, allocations: 12.03 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.2157, allocations: 28.73 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.2159, allocations: 204.1 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2159, allocations: 8.375 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.2159, allocations: 12.38 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.2162, allocations: 125.4 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.2163, allocations: 7.906 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2163, allocations: 8 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2163, allocations: 4 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.2166, allocations: 91.86 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.2174, allocations: 499.3 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.2177, allocations: 118.6 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.2179, allocations: 52.81 kB / 414.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2179, allocations: 0 / 414.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2179, allocations: 34.56 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.2179, allocations: 4 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00101/0.2189, allocations: 477.9 kB / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.219, allocations: 51.41 kB / 415.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2191, allocations: 140.4 kB / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.2191, allocations: 29.7 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.2192, allocations: 112.2 kB / 415.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.2192, allocations: 43.36 kB / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.2193, allocations: 29.72 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.2194, allocations: 322.8 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2195, allocations: 43.97 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.2197, allocations: 75.39 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.2199, allocations: 123.3 kB / 416.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2199, allocations: 4 kB / 416.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003424/0.2203, allocations: 173.1 kB / 416.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2203, allocations: 11.94 kB / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2203, allocations: 0 / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2203, allocations: 4 kB / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.2205, allocations: 35.97 kB / 416.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2205, allocations: 0 / 416.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.2206, allocations: 15.94 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2207, allocations: 4 kB / 416.6 MB, free: 10.67 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 8.661e-05/0.2208, allocations: 133.7 kB / 416.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.2208, allocations: 19.83 kB / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.2208, allocations: 12.84 kB / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2209, allocations: 0 / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2209, allocations: 0 / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.2209, allocations: 85.02 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.2209, allocations: 4 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2211, allocations: 7.984 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.2211, allocations: 11.98 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004976/0.2216, allocations: 244.7 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005399/0.2222, allocations: 366.6 kB / 417.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001405/0.2223, allocations: 56 kB / 417.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.811e-05/0.2224, allocations: 110 kB / 417.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.2224, allocations: 0 / 417.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.2229, allocations: 154.4 kB / 417.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008814/0.2238, allocations: 0.9184 MB / 418.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of Templates: time 0.004233/0.2281, allocations: 1.759 MB / 420.4 MB, free: 6.723 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