Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001481, allocations: 110.7 kB / 17.28 MB, free: 6.176 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.001833/0.001833, allocations: 189.3 kB / 18.2 MB, free: 5.254 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.435/1.435, allocations: 205.1 MB / 224 MB, free: 12.44 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.001181/0.001181, allocations: 51.91 kB / 280.2 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1146, allocations: 46.62 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003663/0.1184, allocations: 1.824 MB / 328.6 MB, free: 2.945 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1194, allocations: 0.6787 MB / 329.3 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.1195, allocations: 0 / 329.3 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1197, allocations: 11.92 kB / 329.3 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.1198, allocations: 31.7 kB / 329.3 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.12, allocations: 43.88 kB / 329.4 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1202, allocations: 119.4 kB / 329.5 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1203, allocations: 29.39 kB / 329.5 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.1204, allocations: 39.86 kB / 329.6 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1205, allocations: 51.77 kB / 329.6 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1205, allocations: 11.94 kB / 329.6 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.1206, allocations: 27.98 kB / 329.6 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.1207, allocations: 19.92 kB / 329.7 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.1207, allocations: 51.73 kB / 329.7 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1209, allocations: 131.8 kB / 329.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1209, allocations: 0 / 329.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1209, allocations: 0 / 329.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.121, allocations: 4 kB / 329.8 MB, free: 1.691 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.0005719/0.1215, allocations: 407.3 kB / 330.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1216, allocations: 11.89 kB / 330.3 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.1218, allocations: 24.83 kB / 330.3 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.122, allocations: 196.1 kB / 330.5 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.122, allocations: 4.562 kB / 330.5 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1221, allocations: 16.38 kB / 330.5 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1223, allocations: 97.58 kB / 330.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1223, allocations: 0 / 330.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1223, allocations: 4 kB / 330.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1223, allocations: 4 kB / 330.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1225, allocations: 67.95 kB / 330.7 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007022/0.1232, allocations: 447.5 kB / 331.1 MB, free: 296 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.1235, allocations: 98.58 kB / 331.2 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.1236, allocations: 36.84 kB / 331.2 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1236, allocations: 0 / 331.2 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1236, allocations: 34.78 kB / 331.3 MB, free: 104 kB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 8.91e-07/0.1236, allocations: 7.938 kB / 331.3 MB, free: 96 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001368/0.125, allocations: 0.5386 MB / 331.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.125, allocations: 51.41 kB / 331.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1251, allocations: 122 kB / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1252, allocations: 25.7 kB / 332 MB, free: 15.26 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.1252, allocations: 111.8 kB / 332.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.1253, allocations: 47.3 kB / 332.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.1253, allocations: 33.7 kB / 332.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1255, allocations: 318.8 kB / 332.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.1255, allocations: 27.98 kB / 332.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.1256, allocations: 59.36 kB / 332.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1258, allocations: 95.36 kB / 332.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1258, allocations: 0 / 332.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002026/0.126, allocations: 133.5 kB / 332.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.126, allocations: 11.12 kB / 332.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.126, allocations: 0 / 332.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.126, allocations: 0 / 332.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1262, allocations: 39.92 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1262, allocations: 3.984 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.1263, allocations: 7.938 kB / 332.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1263, allocations: 4 kB / 332.9 MB, free: 14.34 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 (17): * Single equations (assignments): 17 * 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.86e-05/0.1264, allocations: 121.9 kB / 333 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1264, allocations: 11.89 kB / 333 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.1265, allocations: 16.38 kB / 333 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1265, allocations: 4.031 kB / 333 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1265, allocations: 0 / 333 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1265, allocations: 3.938 kB / 333 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.127, allocations: 428 kB / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.127, allocations: 0 / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1272, allocations: 35.92 kB / 333.5 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1272, allocations: 3.938 kB / 333.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1272, allocations: 4 kB / 333.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1272, allocations: 3.984 kB / 333.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1272, allocations: 0 / 333.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.1275, allocations: 253.2 kB / 333.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.1276, allocations: 85.02 kB / 333.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1276, allocations: 11.94 kB / 333.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.1277, allocations: 4.031 kB / 333.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.1277, allocations: 11.94 kB / 333.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1277, allocations: 4.094 kB / 333.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.1278, allocations: 99.7 kB / 334 MB, free: 13.14 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1278, allocations: 0 / 334 MB, free: 13.14 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.128, allocations: 32 kB / 334 MB, free: 13.11 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.000105/0.1282, allocations: 99.23 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1283, allocations: 83.86 kB / 334.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1284, allocations: 0 / 334.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.1284, allocations: 39.92 kB / 334.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1288, allocations: 24.58 kB / 334.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.1296, allocations: 496.4 kB / 334.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1298, allocations: 0.7041 MB / 335.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.1299, allocations: 12.81 kB / 335.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.1299, allocations: 15.44 kB / 335.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1299, allocations: 4 kB / 335.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of Templates: time 0.003305/0.1332, allocations: 1.105 MB / 336.6 MB, free: 10.48 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches