Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 43.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1112, allocations: 53.32 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003982/0.1151, allocations: 2.016 MB / 428.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1165, allocations: 0.7013 MB / 429 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.1166, allocations: 4 kB / 429 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1168, allocations: 19.78 kB / 429 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1169, allocations: 39.64 kB / 429.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1172, allocations: 63.8 kB / 429.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1174, allocations: 139.3 kB / 429.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1176, allocations: 29.09 kB / 429.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1177, allocations: 59.72 kB / 429.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1178, allocations: 55.78 kB / 429.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1178, allocations: 8 kB / 429.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1179, allocations: 27.98 kB / 429.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.1179, allocations: 23.91 kB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.055e-05/0.118, allocations: 71.66 kB / 429.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.1184, allocations: 143.4 kB / 429.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1184, allocations: 4 kB / 429.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1184, allocations: 0 / 429.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1184, allocations: 0 / 429.7 MB, free: 1.391 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008106/0.1192, allocations: 450.8 kB / 430.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1193, allocations: 8.031 kB / 430.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/0.1193, allocations: 42.73 kB / 430.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.1195, allocations: 32.83 kB / 430.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1198, allocations: 206.3 kB / 430.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1199, allocations: 8.375 kB / 430.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.1199, allocations: 20.11 kB / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1202, allocations: 105.6 kB / 430.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1202, allocations: 7.891 kB / 430.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1202, allocations: 8 kB / 430.6 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1202, allocations: 3.984 kB / 430.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.1205, allocations: 99.88 kB / 430.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1216, allocations: 487.4 kB / 431.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.122, allocations: 118.5 kB / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1221, allocations: 40.84 kB / 431.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1222, allocations: 8.203 kB / 431.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.1222, allocations: 46.38 kB / 431.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.1222, allocations: 0 / 431.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.00117/0.1234, allocations: 481.8 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1234, allocations: 51.41 kB / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1236, allocations: 138.1 kB / 432 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1236, allocations: 25.7 kB / 432 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.1237, allocations: 116.2 kB / 432.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.1237, allocations: 51.62 kB / 432.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.1238, allocations: 37.66 kB / 432.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1239, allocations: 322.8 kB / 432.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1241, allocations: 43.97 kB / 432.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.1242, allocations: 71.34 kB / 432.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.1245, allocations: 127.3 kB / 432.8 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1245, allocations: 0 / 432.8 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003812/0.1249, allocations: 165.5 kB / 432.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1249, allocations: 8.062 kB / 432.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.1249, allocations: 7.938 kB / 432.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1249, allocations: 4 kB / 433 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1251, allocations: 39.97 kB / 433 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1251, allocations: 4 kB / 433 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-05/0.1252, allocations: 8.031 kB / 433 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.1253, allocations: 11.98 kB / 433 MB, free: 13.75 MB / 366.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 (18): * Single equations (assignments): 18 * 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.0001206/0.1254, allocations: 125.8 kB / 433.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.1255, allocations: 15.89 kB / 433.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.1255, allocations: 16.84 kB / 433.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1255, allocations: 0 / 433.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1255, allocations: 0 / 433.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1256, allocations: 3.984 kB / 433.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008428/0.1264, allocations: 468 kB / 433.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.1264, allocations: 7.984 kB / 433.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.1266, allocations: 35.92 kB / 433.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1266, allocations: 4 kB / 433.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1266, allocations: 0 / 433.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1266, allocations: 4 kB / 433.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1266, allocations: 0 / 433.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.1272, allocations: 301.1 kB / 434 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.1273, allocations: 97.03 kB / 434.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1273, allocations: 0 / 434.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1274, allocations: 7.938 kB / 434.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1275, allocations: 11.98 kB / 434.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1275, allocations: 8 kB / 434.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.1275, allocations: 108.8 kB / 434.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1275, allocations: 0 / 434.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1278, allocations: 31.94 kB / 434.2 MB, free: 12.41 MB / 366.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 (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 Backend phase and start with SimCode phase: time 0.0008851/0.1287, allocations: 0.8445 MB / 435.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.1291, allocations: 111.9 kB / 435.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1291, allocations: 0 / 435.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1292, allocations: 60.16 kB / 435.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1296, allocations: 19.97 kB / 435.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.1324, allocations: 1.984 MB / 437.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1329, allocations: 0.7157 MB / 438 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.1329, allocations: 16.64 kB / 438 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.133, allocations: 35.42 kB / 438 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.133, allocations: 0 / 438 MB, free: 8.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.1623, allocations: 3.039 MB / 441.1 MB, free: 5.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.931, allocations: 4.062 kB / 441.1 MB, free: 5.551 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.463291874853894]