Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007375/0.0007375, allocations: 89.86 kB / 16.65 MB, free: 6.535 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.0008894/0.0008894, allocations: 175.5 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 11.94 kB / 301.4 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 50.41 MB / 351.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002239/0.109, allocations: 1.504 MB / 353.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1104, allocations: 0.6195 MB / 354 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1106, allocations: 3.938 kB / 354 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.1108, allocations: 15.86 kB / 354 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1109, allocations: 27.77 kB / 354 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.1112, allocations: 43.89 kB / 354 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.1115, allocations: 119.4 kB / 354.2 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1116, allocations: 25.3 kB / 354.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.1117, allocations: 39.8 kB / 354.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1118, allocations: 43.84 kB / 354.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1119, allocations: 4 kB / 354.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.112, allocations: 19.98 kB / 354.3 MB, free: 1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.112, allocations: 23.91 kB / 354.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.1121, allocations: 73.45 kB / 354.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1124, allocations: 123.8 kB / 354.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1124, allocations: 0 / 354.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1124, allocations: 0 / 354.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1124, allocations: 0 / 354.5 MB, free: 0.7773 MB / 286.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.0005617/0.113, allocations: 392.4 kB / 354.9 MB, free: 356 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.113, allocations: 12.03 kB / 354.9 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.1132, allocations: 28.83 kB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1135, allocations: 196.2 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1135, allocations: 4.562 kB / 355.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1135, allocations: 8.375 kB / 355.1 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1137, allocations: 104.6 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1138, allocations: 0 / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1138, allocations: 0 / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1138, allocations: 4 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1139, allocations: 63.95 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.1146, allocations: 455.5 kB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1149, allocations: 98.47 kB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1149, allocations: 40.84 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.115, allocations: 0 / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.115, allocations: 38.44 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.115, allocations: 0 / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001328/0.1163, allocations: 0.5343 MB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1164, allocations: 55.39 kB / 356.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1165, allocations: 122 kB / 356.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1165, allocations: 29.7 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.1166, allocations: 111.9 kB / 356.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.1166, allocations: 39.36 kB / 356.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1167, allocations: 21.72 kB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1168, allocations: 322.8 kB / 357.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.1169, allocations: 23.98 kB / 357.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.303e-05/0.117, allocations: 58.23 kB / 357.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1171, allocations: 100.2 kB / 357.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1171, allocations: 0 / 357.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002119/0.1173, allocations: 137.3 kB / 357.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1174, allocations: 8 kB / 357.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1174, allocations: 0 / 357.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1174, allocations: 0 / 357.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1175, allocations: 35.98 kB / 357.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1176, allocations: 64 / 357.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.1176, allocations: 11.94 kB / 357.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1177, allocations: 4 kB / 357.5 MB, free: 13.45 MB / 302.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 9.87e-05/0.1178, allocations: 125.7 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1178, allocations: 7.906 kB / 357.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.1179, allocations: 20.36 kB / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1179, allocations: 0 / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1179, allocations: 0 / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1179, allocations: 3.938 kB / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.1185, allocations: 428 kB / 358.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1185, allocations: 0 / 358.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1186, allocations: 35.98 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1186, allocations: 3.938 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1187, allocations: 4 kB / 358.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1187, allocations: 0 / 358.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1187, allocations: 12 kB / 358.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.119, allocations: 245.1 kB / 358.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.119, allocations: 89.16 kB / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1191, allocations: 7.938 kB / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.1191, allocations: 0 / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.1192, allocations: 20.02 kB / 358.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1192, allocations: 4 kB / 358.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.1193, allocations: 91.27 kB / 358.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1193, allocations: 0 / 358.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1195, allocations: 28 kB / 358.6 MB, free: 12.23 MB / 302.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.0001321/0.1197, allocations: 107.1 kB / 358.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1199, allocations: 79.84 kB / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.1199, allocations: 4.125 kB / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.348e-05/0.12, allocations: 43.92 kB / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1203, allocations: 23.42 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.1212, allocations: 0.5532 MB / 359.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1215, allocations: 0.7043 MB / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.594e-05/0.1215, allocations: 8.891 kB / 360.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1216, allocations: 19.42 kB / 360.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1216, allocations: 0 / 360.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Templates: time 0.004281/0.1259, allocations: 1.039 MB / 361.2 MB, free: 9.598 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches