Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001707/0.001707, allocations: 106.9 kB / 17.58 MB, free: 5.559 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.001658/0.001658, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002057, allocations: 55.92 kB / 280.7 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1037, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003004/0.1068, allocations: 1.75 MB / 329 MB, free: 2.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1079, allocations: 0.6873 MB / 329.7 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.1079, allocations: 0 / 329.7 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1081, allocations: 15.86 kB / 329.7 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.1082, allocations: 35.64 kB / 329.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.1084, allocations: 47.86 kB / 329.8 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1086, allocations: 115.4 kB / 329.9 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1088, allocations: 31.92 kB / 330 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.1088, allocations: 47.8 kB / 330 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.109, allocations: 51.77 kB / 330.1 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.109, allocations: 8 kB / 330.1 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.1091, allocations: 23.98 kB / 330.1 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.1091, allocations: 15.94 kB / 330.1 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.1092, allocations: 47.8 kB / 330.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1094, allocations: 127.9 kB / 330.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1094, allocations: 4 kB / 330.3 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1094, allocations: 0 / 330.3 MB, free: 1.449 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1095, allocations: 0 / 330.3 MB, free: 1.449 MB / 270.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.0006277/0.1101, allocations: 419.2 kB / 330.7 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1101, allocations: 11.89 kB / 330.7 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.1104, allocations: 24.83 kB / 330.7 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1106, allocations: 188.2 kB / 330.9 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1106, allocations: 8.562 kB / 330.9 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1107, allocations: 12.38 kB / 330.9 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1109, allocations: 97.53 kB / 331 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1109, allocations: 4 kB / 331 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.1109, allocations: 4 kB / 331 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1109, allocations: 7.984 kB / 331 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1111, allocations: 55.97 kB / 331.1 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.1119, allocations: 493.1 kB / 331.6 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1121, allocations: 86.52 kB / 331.7 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.1122, allocations: 24.86 kB / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.1122, allocations: 0 / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.1122, allocations: 30.56 kB / 331.7 MB, free: 15.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.1122, allocations: 4 kB / 331.7 MB, free: 15.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002282/0.1125, allocations: 97.62 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1125, allocations: 55.34 kB / 331.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.1126, allocations: 121.8 kB / 332 MB, free: 15.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1126, allocations: 25.7 kB / 332 MB, free: 15.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1127, allocations: 115.9 kB / 332.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.1127, allocations: 31.55 kB / 332.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.1128, allocations: 29.7 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1129, allocations: 322.8 kB / 332.5 MB, free: 15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.113, allocations: 27.98 kB / 332.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.113, allocations: 47.42 kB / 332.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1131, allocations: 79.31 kB / 332.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1132, allocations: 0 / 332.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001601/0.1133, allocations: 117.5 kB / 332.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1133, allocations: 8 kB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1134, allocations: 0 / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1134, allocations: 4 kB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1135, allocations: 23.98 kB / 332.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1135, allocations: 3.938 kB / 332.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.1136, allocations: 15.84 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1136, allocations: 4 kB / 332.8 MB, free: 14.64 MB / 286.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.954e-05/0.1137, allocations: 125.9 kB / 332.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1137, allocations: 4 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.1138, allocations: 8.375 kB / 333 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1138, allocations: 0 / 333 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1138, allocations: 3.938 kB / 333 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1138, allocations: 7.984 kB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.114, allocations: 197.5 kB / 333.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.114, allocations: 3.938 kB / 333.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.1141, allocations: 19.98 kB / 333.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1141, allocations: 0 / 333.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1141, allocations: 8 kB / 333.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1142, allocations: 0 / 333.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1142, allocations: 3.938 kB / 333.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1144, allocations: 207.4 kB / 333.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1144, allocations: 85.02 kB / 333.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1145, allocations: 0 / 333.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.1145, allocations: 96 / 333.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.1146, allocations: 20 kB / 333.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1146, allocations: 7.984 kB / 333.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.1147, allocations: 95.27 kB / 333.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1147, allocations: 0 / 333.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.1149, allocations: 27.94 kB / 333.6 MB, free: 13.74 MB / 286.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 0.0001022/0.115, allocations: 91.25 kB / 333.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1152, allocations: 59.92 kB / 333.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1152, allocations: 4 kB / 333.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.1152, allocations: 32.11 kB / 333.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1156, allocations: 19.98 kB / 333.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.1164, allocations: 423.3 kB / 334.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1167, allocations: 0.7041 MB / 334.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.1168, allocations: 8.422 kB / 335 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.1168, allocations: 11.44 kB / 335 MB, free: 12.33 MB / 286.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1168, allocations: 4 kB / 335 MB, free: 12.33 MB / 286.1 MB Notification: Performance of Templates: time 0.00323/0.1201, allocations: 0.9079 MB / 335.9 MB, free: 11.43 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches