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.00176/0.001759, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.002187/0.002187, allocations: 187 kB / 18.66 MB, free: 4.395 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.659/1.659, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001503/0.001503, allocations: 55.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00396/0.1062, allocations: 1.755 MB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1075, allocations: 0.6902 MB / 377.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1076, allocations: 3.938 kB / 377.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.1078, allocations: 15.86 kB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1079, allocations: 39.7 kB / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1082, allocations: 43.81 kB / 377.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1084, allocations: 127.4 kB / 377.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1085, allocations: 27.98 kB / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.1086, allocations: 47.8 kB / 377.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.338e-05/0.1086, allocations: 39.8 kB / 377.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1087, allocations: 8 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.1088, allocations: 23.98 kB / 377.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.1088, allocations: 27.91 kB / 378 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.1089, allocations: 51.8 kB / 378 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1091, allocations: 123.6 kB / 378.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1091, allocations: 0 / 378.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1091, allocations: 0 / 378.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1091, allocations: 0 / 378.1 MB, free: 1.547 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.0005208/0.1097, allocations: 403.4 kB / 378.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1097, allocations: 11.89 kB / 378.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.1099, allocations: 32.67 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.1103, allocations: 204.1 kB / 378.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1103, allocations: 4.562 kB / 378.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.1103, allocations: 12.38 kB / 378.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1105, allocations: 93.59 kB / 378.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1105, allocations: 4 kB / 378.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1105, allocations: 0 / 378.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1106, allocations: 0 / 378.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1107, allocations: 63.95 kB / 379 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/0.1114, allocations: 489.2 kB / 379.4 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.1117, allocations: 90.5 kB / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.195/0.3067, allocations: 19.31 kB / 379.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3067, allocations: 1.281 kB / 379.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3068, allocations: 35.53 kB / 379.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.3068, allocations: 0.9688 kB / 379.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002668/0.3071, allocations: 100.8 kB / 379.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.3071, allocations: 57.39 kB / 379.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.3072, allocations: 114.4 kB / 379.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.3072, allocations: 28.45 kB / 379.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.3073, allocations: 110.6 kB / 380 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.3073, allocations: 32.2 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.3074, allocations: 25.03 kB / 380 MB, free: 12.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.296e-05/0.3074, allocations: 319 kB / 380.3 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.3075, allocations: 23.67 kB / 380.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.3075, allocations: 52.66 kB / 380.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.795e-05/0.3076, allocations: 79.94 kB / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3076, allocations: 1.219 kB / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001584/0.3078, allocations: 114.7 kB / 380.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3078, allocations: 5.469 kB / 380.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3078, allocations: 1.375 kB / 380.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3079, allocations: 7.188 kB / 380.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.308, allocations: 25.59 kB / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.308, allocations: 3.688 kB / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-05/0.3081, allocations: 8 kB / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3081, allocations: 4.125 kB / 380.7 MB, free: 12.39 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 6.244e-05/0.3082, allocations: 124.9 kB / 380.8 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3082, allocations: 8.922 kB / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.3082, allocations: 13.83 kB / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3083, allocations: 2.781 kB / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3083, allocations: 2.812 kB / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3083, allocations: 4.875 kB / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3084, allocations: 200.4 kB / 381 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3085, allocations: 0 / 381 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3086, allocations: 26.41 kB / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3086, allocations: 0 / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3086, allocations: 4.688 kB / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3086, allocations: 0.9844 kB / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3086, allocations: 1.094 kB / 381.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.3088, allocations: 209.2 kB / 381.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.3089, allocations: 84.52 kB / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3089, allocations: 2.125 kB / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.309, allocations: 0 / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.309, allocations: 4.5 kB / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.309, allocations: 10.34 kB / 381.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.73e-05/0.309, allocations: 91.28 kB / 381.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.309, allocations: 6.719 kB / 381.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3093, allocations: 32.03 kB / 381.5 MB, free: 11.76 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 7.914e-05/0.3094, allocations: 93 kB / 381.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.3095, allocations: 65.7 kB / 381.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3096, allocations: 0 / 381.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.3096, allocations: 24.88 kB / 381.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3099, allocations: 24.08 kB / 381.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.3106, allocations: 430.4 kB / 382.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.3108, allocations: 0.7022 MB / 382.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.515e-05/0.3108, allocations: 10.62 kB / 382.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.3108, allocations: 11.53 kB / 382.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3108, allocations: 0 / 382.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of Templates: time 0.003585/0.3144, allocations: 0.9278 MB / 383.8 MB, free: 10.6 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/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