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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 113.3 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001266, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 55.47 kB / 302.1 MB, free: 5.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09838, allocations: 49.44 MB / 351.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003414/0.1018, allocations: 1.76 MB / 353.3 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1029, allocations: 0.6388 MB / 353.9 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.103, allocations: 4 kB / 353.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1031, allocations: 11.86 kB / 353.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.1032, allocations: 35.64 kB / 353.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1035, allocations: 47.88 kB / 354 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1037, allocations: 123.4 kB / 354.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1038, allocations: 35.89 kB / 354.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.1039, allocations: 47.8 kB / 354.2 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.104, allocations: 35.86 kB / 354.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.104, allocations: 8 kB / 354.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.312e-05/0.1041, allocations: 27.98 kB / 354.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.1041, allocations: 19.91 kB / 354.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.1042, allocations: 55.73 kB / 354.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1044, allocations: 127.6 kB / 354.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1044, allocations: 0 / 354.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.1044, allocations: 4 kB / 354.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1044, allocations: 3.938 kB / 354.5 MB, free: 0.7812 MB / 286.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.0005304/0.105, allocations: 403.3 kB / 354.9 MB, free: 348 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.105, allocations: 15.89 kB / 354.9 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.1052, allocations: 20.83 kB / 354.9 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1055, allocations: 196.2 kB / 355.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1055, allocations: 12.56 kB / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.1055, allocations: 8.375 kB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1057, allocations: 101.5 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1057, allocations: 0 / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1058, allocations: 4 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1058, allocations: 4 kB / 355.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1059, allocations: 51.97 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.1066, allocations: 489.1 kB / 355.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.1069, allocations: 90.55 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.107, allocations: 20.86 kB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.107, allocations: 4 kB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.107, allocations: 30.56 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.107, allocations: 4 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002278/0.1073, allocations: 93.58 kB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1073, allocations: 59.34 kB / 356 MB, free: 15.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.1074, allocations: 117.8 kB / 356.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1074, allocations: 37.64 kB / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.1075, allocations: 107.8 kB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1075, allocations: 31.55 kB / 356.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1076, allocations: 29.72 kB / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1077, allocations: 322.8 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.1077, allocations: 23.98 kB / 356.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.1078, allocations: 47.42 kB / 356.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1079, allocations: 79.31 kB / 356.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1079, allocations: 4 kB / 356.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001643/0.1081, allocations: 113.5 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1081, allocations: 4 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1081, allocations: 3.984 kB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1081, allocations: 7.984 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1083, allocations: 20 kB / 357 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1083, allocations: 4.25 kB / 357 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.1083, allocations: 11.84 kB / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1084, allocations: 8.078 kB / 357 MB, free: 13.99 MB / 302.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 8.154e-05/0.1084, allocations: 129.7 kB / 357.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1085, allocations: 7.906 kB / 357.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.1085, allocations: 16.38 kB / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1085, allocations: 4 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1085, allocations: 3.938 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1086, allocations: 0 / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.1088, allocations: 197.8 kB / 357.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1088, allocations: 0 / 357.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1089, allocations: 23.98 kB / 357.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1089, allocations: 4 kB / 357.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1089, allocations: 0 / 357.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1089, allocations: 0 / 357.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1089, allocations: 7.922 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1092, allocations: 207.8 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.1092, allocations: 81.02 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1092, allocations: 4 kB / 357.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.1093, allocations: 0 / 357.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.1093, allocations: 20 kB / 357.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1094, allocations: 7.938 kB / 357.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.1094, allocations: 95.2 kB / 357.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1094, allocations: 0 / 357.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1097, allocations: 27.94 kB / 357.8 MB, free: 13.07 MB / 302.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.598e-05/0.1098, allocations: 95.25 kB / 357.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.11, allocations: 63.91 kB / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.11, allocations: 4.188 kB / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.11, allocations: 31.92 kB / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1103, allocations: 12 kB / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.111, allocations: 430.7 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1113, allocations: 0.7041 MB / 359.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.1114, allocations: 8.422 kB / 359.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.1114, allocations: 11.44 kB / 359.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1114, allocations: 0 / 359.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Templates: time 0.003213/0.1146, allocations: 0.917 MB / 360.1 MB, free: 10.76 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches