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.001198/0.001198, allocations: 110 kB / 18.36 MB, free: 4.695 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.001166/0.001166, allocations: 188.2 kB / 19.3 MB, free: 3.773 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.377/1.377, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001282/0.001282, allocations: 51.92 kB / 329.1 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1064, allocations: 46.6 MB / 375.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003019/0.1095, allocations: 1.763 MB / 377.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1107, allocations: 0.6863 MB / 378.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.509e-05/0.1108, allocations: 3.938 kB / 378.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.111, allocations: 11.86 kB / 378.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.1111, allocations: 39.7 kB / 378.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1114, allocations: 47.81 kB / 378.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1115, allocations: 123.4 kB / 378.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1117, allocations: 27.97 kB / 378.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.1118, allocations: 43.81 kB / 378.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.1119, allocations: 43.78 kB / 378.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1119, allocations: 8 kB / 378.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.601e-05/0.112, allocations: 31.98 kB / 378.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.112, allocations: 19.91 kB / 378.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.1121, allocations: 55.8 kB / 378.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1123, allocations: 123.6 kB / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1123, allocations: 0 / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1123, allocations: 0 / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1123, allocations: 0 / 378.8 MB, free: 1.574 MB / 318.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.0005723/0.1129, allocations: 403.4 kB / 379.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1129, allocations: 15.89 kB / 379.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.1131, allocations: 36.61 kB / 379.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1134, allocations: 200.1 kB / 379.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1134, allocations: 8.562 kB / 379.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.1134, allocations: 8.375 kB / 379.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1136, allocations: 93.59 kB / 379.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1137, allocations: 0 / 379.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1137, allocations: 4 kB / 379.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1137, allocations: 4 kB / 379.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1138, allocations: 55.97 kB / 379.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.1146, allocations: 493.2 kB / 380.1 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1148, allocations: 86.56 kB / 380.1 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.1149, allocations: 20.86 kB / 380.2 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.1149, allocations: 4 kB / 380.2 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2189/0.3338, allocations: 34.56 kB / 380.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 4.128e-06/0.3339, allocations: 0 / 380.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003549/0.3342, allocations: 101.2 kB / 380.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.3343, allocations: 54.97 kB / 380.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.3344, allocations: 117.7 kB / 380.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.3344, allocations: 27.08 kB / 380.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.3344, allocations: 107.2 kB / 380.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.3345, allocations: 31.69 kB / 380.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.3345, allocations: 25.61 kB / 380.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.3346, allocations: 321.8 kB / 381 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.3346, allocations: 21.94 kB / 381 MB, free: 12.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.3347, allocations: 47.98 kB / 381 MB, free: 12.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3348, allocations: 85.86 kB / 381.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3348, allocations: 0 / 381.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001614/0.335, allocations: 110.2 kB / 381.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.335, allocations: 5.625 kB / 381.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.335, allocations: 5.266 kB / 381.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.335, allocations: 3.875 kB / 381.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3352, allocations: 28.97 kB / 381.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3352, allocations: 2.969 kB / 381.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.3353, allocations: 9.422 kB / 381.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3353, allocations: 3.094 kB / 381.3 MB, free: 12.38 MB / 318.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 7.127e-05/0.3354, allocations: 127.2 kB / 381.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.3354, allocations: 8.531 kB / 381.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.3355, allocations: 13.09 kB / 381.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3355, allocations: 6.281 kB / 381.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3355, allocations: 0 / 381.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3355, allocations: 0.75 kB / 381.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.3357, allocations: 205.9 kB / 381.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3357, allocations: 0 / 381.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3358, allocations: 23.2 kB / 381.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3358, allocations: 3.859 kB / 381.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3359, allocations: 4.562 kB / 381.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3359, allocations: 0.6094 kB / 381.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3359, allocations: 3.688 kB / 381.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3361, allocations: 209.7 kB / 381.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.3361, allocations: 83.52 kB / 382 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3361, allocations: 2.203 kB / 382 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.3362, allocations: 1.859 kB / 382 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.3363, allocations: 7.328 kB / 382 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.3363, allocations: 1.562 kB / 382 MB, free: 11.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.556e-05/0.3363, allocations: 92.48 kB / 382.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3363, allocations: 3.406 kB / 382.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000257/0.3366, allocations: 33.56 kB / 382.1 MB, free: 11.75 MB / 318.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.48e-05/0.3367, allocations: 97.73 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.3369, allocations: 63.83 kB / 382.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3369, allocations: 0 / 382.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.3369, allocations: 26.06 kB / 382.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.3372, allocations: 24.62 kB / 382.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.338, allocations: 453.6 kB / 382.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.3381, allocations: 0.7018 MB / 383.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.3382, allocations: 15.59 kB / 383.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3382, allocations: 0 / 383.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of Templates: time 0.003463/0.3416, allocations: 1.305 MB / 384.8 MB, free: 10.55 MB / 318.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