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.001188/0.001188, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001187/0.001187, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.552/1.552, allocations: 205.1 MB / 225 MB, free: 12.3 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.001408/0.001408, allocations: 51.92 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.0999, allocations: 46.64 MB / 328 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003936/0.1039, allocations: 1.756 MB / 329.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1052, allocations: 0.6748 MB / 330.4 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1054, allocations: 4 kB / 330.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.1056, allocations: 15.86 kB / 330.4 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1058, allocations: 39.62 kB / 330.4 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.1061, allocations: 43.88 kB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1063, allocations: 123.4 kB / 330.6 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1065, allocations: 23.94 kB / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.1066, allocations: 43.8 kB / 330.7 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1067, allocations: 47.77 kB / 330.7 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1067, allocations: 8 kB / 330.7 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1069, allocations: 27.98 kB / 330.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.1069, allocations: 23.92 kB / 330.8 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.107, allocations: 43.8 kB / 330.8 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1072, allocations: 127.9 kB / 330.9 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1073, allocations: 0 / 330.9 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1073, allocations: 4 kB / 330.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1073, allocations: 0 / 330.9 MB, free: 1.445 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.0006502/0.1079, allocations: 411.2 kB / 331.4 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.108, allocations: 19.88 kB / 331.4 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.1082, allocations: 20.83 kB / 331.4 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1085, allocations: 192.2 kB / 331.6 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1085, allocations: 4.562 kB / 331.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.1086, allocations: 16.38 kB / 331.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1088, allocations: 105.5 kB / 331.7 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1088, allocations: 4 kB / 331.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1088, allocations: 0 / 331.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1088, allocations: 0 / 331.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.109, allocations: 59.97 kB / 331.8 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.1098, allocations: 489.1 kB / 332.2 MB, free: 16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1101, allocations: 86.58 kB / 332.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.1102, allocations: 24.83 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1102, allocations: 8 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1102, allocations: 34.56 kB / 332.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1102, allocations: 0 / 332.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002555/0.1105, allocations: 97.73 kB / 332.5 MB, free: 15.72 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1105, allocations: 55.34 kB / 332.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1106, allocations: 121.8 kB / 332.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1107, allocations: 25.7 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.1108, allocations: 115.9 kB / 332.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1108, allocations: 27.56 kB / 332.8 MB, free: 15.35 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.1108, allocations: 33.7 kB / 332.9 MB, free: 15.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.111, allocations: 314.8 kB / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.111, allocations: 23.94 kB / 333.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.1111, allocations: 51.42 kB / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1113, allocations: 83.3 kB / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1113, allocations: 0 / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001854/0.1115, allocations: 113.5 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1115, allocations: 4 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1115, allocations: 0 / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1115, allocations: 4 kB / 333.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1116, allocations: 23.98 kB / 333.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.1117, allocations: 3.938 kB / 333.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.1117, allocations: 19.94 kB / 333.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1117, allocations: 4 kB / 333.5 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 9.749e-05/0.1118, allocations: 117.8 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.1119, allocations: 4 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.1119, allocations: 16.36 kB / 333.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1119, allocations: 4 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.112, allocations: 3.938 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.112, allocations: 0 / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.1122, allocations: 197.5 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1122, allocations: 11.94 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1124, allocations: 23.98 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1124, allocations: 0 / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1124, allocations: 4 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1124, allocations: 0 / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1124, allocations: 3.938 kB / 333.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1127, allocations: 207.4 kB / 334.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1127, allocations: 85.05 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1128, allocations: 8 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.1128, allocations: 4.094 kB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.1129, allocations: 7.875 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1129, allocations: 4 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.615e-05/0.1129, allocations: 91.7 kB / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1129, allocations: 0 / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1132, allocations: 27.94 kB / 334.3 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.0001224/0.1134, allocations: 99.25 kB / 334.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1135, allocations: 67.91 kB / 334.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1135, allocations: 0 / 334.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.1136, allocations: 27.94 kB / 334.5 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.0004466/0.114, allocations: 16.31 kB / 334.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009209/0.115, allocations: 460.7 kB / 335 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1153, allocations: 0.6924 MB / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.1154, allocations: 15.44 kB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1154, allocations: 0 / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of Templates: time 0.003392/0.1188, allocations: 1.291 MB / 336.9 MB, free: 11.01 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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