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.001267/0.001267, allocations: 110.5 kB / 17.93 MB, free: 5.566 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.0013/0.0013, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.6/1.6, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.002395/0.002395, allocations: 51.92 kB / 280.8 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1178, allocations: 46.63 MB / 327.4 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003432/0.1212, allocations: 1.828 MB / 329.3 MB, free: 2.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1224, allocations: 0.6709 MB / 329.9 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1225, allocations: 0 / 329.9 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1227, allocations: 19.86 kB / 330 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.1227, allocations: 27.77 kB / 330 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.123, allocations: 43.88 kB / 330 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1231, allocations: 119.4 kB / 330.1 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1233, allocations: 29.39 kB / 330.2 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.067e-05/0.1233, allocations: 39.81 kB / 330.2 MB, free: 2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.1234, allocations: 51.78 kB / 330.3 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1234, allocations: 8 kB / 330.3 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.1235, allocations: 31.97 kB / 330.3 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.1236, allocations: 15.92 kB / 330.3 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.1236, allocations: 55.73 kB / 330.4 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1238, allocations: 96.02 kB / 330.5 MB, free: 1.746 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1238, allocations: 0 / 330.5 MB, free: 1.746 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1238, allocations: 4 kB / 330.5 MB, free: 1.742 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1238, allocations: 0 / 330.5 MB, free: 1.742 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.0005239/0.1243, allocations: 411.3 kB / 330.9 MB, free: 1.293 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1244, allocations: 15.89 kB / 330.9 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.1245, allocations: 20.83 kB / 330.9 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1247, allocations: 200.1 kB / 331.1 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1247, allocations: 8.562 kB / 331.1 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1248, allocations: 8.375 kB / 331.1 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.125, allocations: 93.59 kB / 331.2 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.125, allocations: 0 / 331.2 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.125, allocations: 8 kB / 331.2 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.125, allocations: 7.938 kB / 331.2 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1251, allocations: 55.97 kB / 331.3 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.1258, allocations: 451.5 kB / 331.7 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.1261, allocations: 114.6 kB / 331.8 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.1261, allocations: 28.84 kB / 331.9 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1261, allocations: 4 kB / 331.9 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1262, allocations: 30.56 kB / 331.9 MB, free: 148 kB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1262, allocations: 3.938 kB / 331.9 MB, free: 144 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001333/0.1275, allocations: 0.5345 MB / 332.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1276, allocations: 51.41 kB / 332.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.1277, allocations: 134 kB / 332.6 MB, free: 15.33 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1277, allocations: 33.7 kB / 332.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.1277, allocations: 103.9 kB / 332.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.1278, allocations: 47.3 kB / 332.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.1278, allocations: 29.72 kB / 332.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1279, allocations: 322.8 kB / 333.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.128, allocations: 27.98 kB / 333.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.1281, allocations: 62.55 kB / 333.2 MB, free: 14.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1282, allocations: 95.36 kB / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1282, allocations: 0 / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001784/0.1284, allocations: 133.5 kB / 333.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1284, allocations: 4 kB / 333.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1284, allocations: 4.062 kB / 333.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1285, allocations: 7.938 kB / 333.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1286, allocations: 27.98 kB / 333.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1286, allocations: 4 kB / 333.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.1287, allocations: 7.938 kB / 333.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1287, allocations: 4 kB / 333.5 MB, free: 14.38 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.509e-05/0.1288, allocations: 121.8 kB / 333.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1288, allocations: 15.94 kB / 333.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.1289, allocations: 20.36 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1289, allocations: 0 / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1289, allocations: 4 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1289, allocations: 3.938 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.1294, allocations: 424 kB / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1294, allocations: 0 / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1295, allocations: 23.98 kB / 334.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1296, allocations: 12 kB / 334.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1296, allocations: 4 kB / 334.1 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1296, allocations: 4 kB / 334.1 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1296, allocations: 3.938 kB / 334.1 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1299, allocations: 245.2 kB / 334.4 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.1299, allocations: 84.95 kB / 334.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1299, allocations: 11.94 kB / 334.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.13, allocations: 8 kB / 334.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.13, allocations: 8.031 kB / 334.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1301, allocations: 4 kB / 334.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.1301, allocations: 103.8 kB / 334.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1301, allocations: 0 / 334.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1304, allocations: 20 kB / 334.6 MB, free: 13.17 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.0001023/0.1305, allocations: 107.2 kB / 334.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1307, allocations: 84.61 kB / 334.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1307, allocations: 0 / 334.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.1307, allocations: 43.92 kB / 334.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1311, allocations: 16.2 kB / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.1319, allocations: 0.5175 MB / 335.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1322, allocations: 0.708 MB / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.1322, allocations: 11.44 kB / 336.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1322, allocations: 0 / 336.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of Templates: time 0.002846/0.1351, allocations: 1.414 MB / 337.5 MB, free: 10.19 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/jenkins1/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