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.001494/0.001494, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 204 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.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2424, allocations: 50.53 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002963/0.2454, allocations: 1.99 MB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2465, allocations: 0.6935 MB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.051e-05/0.2466, allocations: 8 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.2467, allocations: 15.8 kB / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.25e-05/0.2468, allocations: 47.62 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.2471, allocations: 47.81 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.2473, allocations: 147.3 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2474, allocations: 33.09 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/0.2475, allocations: 51.78 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.861e-05/0.2476, allocations: 67.7 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.2476, allocations: 12 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.2477, allocations: 27.98 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.2477, allocations: 15.92 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.826e-05/0.2478, allocations: 71.66 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.248, allocations: 143.2 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2481, allocations: 0 / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2481, allocations: 0 / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.2481, allocations: 0 / 413.3 MB, free: 14.22 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.0006043/0.2487, allocations: 446.8 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2487, allocations: 8.031 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.2489, allocations: 24.88 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.2491, allocations: 208.1 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.2492, allocations: 8.375 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.2492, allocations: 12.38 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.2495, allocations: 125.4 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.2495, allocations: 8 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2495, allocations: 0 / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2495, allocations: 4 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.2498, allocations: 91.92 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.2506, allocations: 0.5205 MB / 414.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.251, allocations: 102.6 kB / 414.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.2511, allocations: 44.88 kB / 414.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2511, allocations: 7.938 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.2511, allocations: 34.69 kB / 414.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2512, allocations: 4 kB / 414.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004337/0.2516, allocations: 149.5 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.2516, allocations: 51.41 kB / 415.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.2517, allocations: 133.8 kB / 415.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2518, allocations: 29.7 kB / 415.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.2518, allocations: 108.2 kB / 415.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.2518, allocations: 39.69 kB / 415.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.2519, allocations: 29.7 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.252, allocations: 318.8 kB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2521, allocations: 35.97 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2523, allocations: 67.41 kB / 415.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.2525, allocations: 111.3 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2525, allocations: 0 / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003075/0.2528, allocations: 153.4 kB / 416.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2529, allocations: 8 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2529, allocations: 384 / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2529, allocations: 0 / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2531, allocations: 35.92 kB / 416.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2531, allocations: 0 / 416.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.2532, allocations: 19.86 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2532, allocations: 8.094 kB / 416.2 MB, free: 11.06 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 7.996e-05/0.2533, allocations: 125.8 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.2533, allocations: 15.84 kB / 416.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.2534, allocations: 16.7 kB / 416.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2534, allocations: 0 / 416.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2534, allocations: 7.938 kB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.2534, allocations: 81.06 kB / 416.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2535, allocations: 4 kB / 416.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2536, allocations: 7.984 kB / 416.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.2536, allocations: 8 kB / 416.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004357/0.2541, allocations: 212.8 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004527/0.2545, allocations: 342.6 kB / 417 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001237/0.2547, allocations: 44.02 kB / 417 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.333e-05/0.2547, allocations: 102.1 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Backend: time 2.21e-07/0.2547, allocations: 0 / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005265/0.2553, allocations: 154.2 kB / 417.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008298/0.2561, allocations: 0.9104 MB / 418.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of Templates: time 0.003994/0.2601, allocations: 1.594 MB / 419.8 MB, free: 7.363 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