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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 111.8 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 194.5 kB / 21.43 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.92 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003326/0.1121, allocations: 1.787 MB / 420.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1132, allocations: 0.6543 MB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1133, allocations: 3.938 kB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.1135, allocations: 15.86 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.883e-05/0.1135, allocations: 35.7 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1138, allocations: 51.81 kB / 421 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.114, allocations: 123.4 kB / 421.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1142, allocations: 21.38 kB / 421.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.1142, allocations: 51.8 kB / 421.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1143, allocations: 47.78 kB / 421.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1144, allocations: 8 kB / 421.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.1144, allocations: 23.98 kB / 421.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.1145, allocations: 23.91 kB / 421.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.1145, allocations: 47.75 kB / 421.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1148, allocations: 131.5 kB / 421.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1148, allocations: 3.938 kB / 421.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1148, allocations: 3.984 kB / 421.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1148, allocations: 0 / 421.5 MB, free: 9.574 MB / 350.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.0006481/0.1155, allocations: 411.2 kB / 421.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1155, allocations: 8.031 kB / 421.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.952e-05/0.1155, allocations: 4.375 kB / 421.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.1156, allocations: 46.73 kB / 421.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.1158, allocations: 24.83 kB / 422 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.116, allocations: 204.2 kB / 422.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.116, allocations: 8.312 kB / 422.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1161, allocations: 8 kB / 422.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1163, allocations: 93.66 kB / 422.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1163, allocations: 4 kB / 422.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1163, allocations: 0 / 422.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1163, allocations: 11.94 kB / 422.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1164, allocations: 63.91 kB / 422.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.1171, allocations: 447.7 kB / 422.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1174, allocations: 94.64 kB / 422.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.1175, allocations: 36.84 kB / 422.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1175, allocations: 4 kB / 422.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1175, allocations: 34.56 kB / 423 MB, free: 7.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1175, allocations: 0 / 423 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001428/0.119, allocations: 0.5349 MB / 423.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.119, allocations: 55.34 kB / 423.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1191, allocations: 126 kB / 423.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1192, allocations: 29.7 kB / 423.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.1192, allocations: 108 kB / 423.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.1193, allocations: 51.59 kB / 423.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.1193, allocations: 25.72 kB / 423.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1195, allocations: 322.8 kB / 424.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.1196, allocations: 31.98 kB / 424.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1197, allocations: 59.33 kB / 424.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1198, allocations: 95.36 kB / 424.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1198, allocations: 0 / 424.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002098/0.12, allocations: 129.5 kB / 424.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.12, allocations: 8 kB / 424.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1201, allocations: 0 / 424.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1201, allocations: 3.938 kB / 424.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1202, allocations: 35.92 kB / 424.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1202, allocations: 64 / 424.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.1203, allocations: 12 kB / 424.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1203, allocations: 4 kB / 424.6 MB, free: 6.164 MB / 350.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 0.0001044/0.1204, allocations: 126.4 kB / 424.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1204, allocations: 11.98 kB / 424.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.1205, allocations: 16.38 kB / 424.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.1205, allocations: 3.938 kB / 424.7 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1205, allocations: 0 / 424.7 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1205, allocations: 3.984 kB / 424.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.1211, allocations: 428.1 kB / 425.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1211, allocations: 3.938 kB / 425.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1212, allocations: 27.98 kB / 425.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1212, allocations: 0 / 425.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1212, allocations: 8 kB / 425.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1212, allocations: 0 / 425.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1212, allocations: 0 / 425.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.1216, allocations: 253.1 kB / 425.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1216, allocations: 89 kB / 425.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1216, allocations: 8 kB / 425.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.1217, allocations: 4.094 kB / 425.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.1217, allocations: 11.97 kB / 425.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1218, allocations: 8 kB / 425.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.432e-05/0.1218, allocations: 98.64 kB / 425.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1218, allocations: 0 / 425.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1221, allocations: 28 kB / 425.7 MB, free: 4.949 MB / 350.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.0006366/0.1227, allocations: 0.7881 MB / 426.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1229, allocations: 72.41 kB / 426.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1229, allocations: 0 / 426.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.123, allocations: 43.92 kB / 426.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1233, allocations: 22.53 kB / 426.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.1255, allocations: 1.816 MB / 428.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1258, allocations: 0.7002 MB / 429.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.1259, allocations: 20.86 kB / 429.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.1259, allocations: 27.42 kB / 429.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1259, allocations: 0 / 429.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.1467, allocations: 2.646 MB / 431.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.036, allocations: 8.047 kB / 431.8 MB, free: 14.78 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.367916828021407]