Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001859/0.001859, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002542/0.002542, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 59.91 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1114, allocations: 53.38 MB / 427.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003727/0.1151, allocations: 2.012 MB / 429.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1165, allocations: 0.7013 MB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1166, allocations: 3.938 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.1167, allocations: 19.8 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1168, allocations: 47.62 kB / 429.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1171, allocations: 55.8 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1173, allocations: 143.3 kB / 430 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1174, allocations: 29.09 kB / 430.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.656e-05/0.1175, allocations: 51.8 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.1176, allocations: 55.77 kB / 430.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1176, allocations: 8 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.761e-05/0.1177, allocations: 35.92 kB / 430.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.1177, allocations: 27.91 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.1178, allocations: 59.67 kB / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.1181, allocations: 151.4 kB / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1181, allocations: 0 / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1181, allocations: 4 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1181, allocations: 0 / 430.4 MB, free: 1.234 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.0007158/0.1188, allocations: 446.8 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1189, allocations: 12.03 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.802e-05/0.1189, allocations: 8.188 kB / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.1189, allocations: 38.73 kB / 430.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.1191, allocations: 32.83 kB / 431 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1194, allocations: 200.1 kB / 431.2 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1194, allocations: 12.38 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.1195, allocations: 11.94 kB / 431.2 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.1198, allocations: 117.6 kB / 431.3 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1198, allocations: 3.953 kB / 431.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1198, allocations: 4 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1198, allocations: 4 kB / 431.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.1201, allocations: 95.8 kB / 431.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009239/0.1211, allocations: 487.5 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.1214, allocations: 110.5 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1216, allocations: 49.09 kB / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1216, allocations: 7.938 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1216, allocations: 38.5 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.1216, allocations: 0 / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.1227, allocations: 478 kB / 432.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1227, allocations: 67.28 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1229, allocations: 140.8 kB / 432.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1229, allocations: 25.7 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.123, allocations: 112.2 kB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.123, allocations: 51.62 kB / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.1231, allocations: 29.67 kB / 433 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1232, allocations: 330.8 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1233, allocations: 43.97 kB / 433.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1235, allocations: 75.39 kB / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.1238, allocations: 125.8 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1238, allocations: 0 / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003577/0.1241, allocations: 165.5 kB / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1241, allocations: 8 kB / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1242, allocations: 0 / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1242, allocations: 0 / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1244, allocations: 47.91 kB / 433.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1244, allocations: 0 / 433.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.1244, allocations: 8.062 kB / 433.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1245, allocations: 8 kB / 433.8 MB, free: 13.61 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.0001221/0.1246, allocations: 129.8 kB / 433.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.1246, allocations: 15.92 kB / 433.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.1247, allocations: 16.84 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1247, allocations: 4 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1247, allocations: 0 / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1247, allocations: 4 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.1254, allocations: 472 kB / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1254, allocations: 0 / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.1256, allocations: 35.97 kB / 434.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1256, allocations: 0 / 434.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1256, allocations: 8 kB / 434.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1257, allocations: 8 kB / 434.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1257, allocations: 0 / 434.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.1262, allocations: 297.7 kB / 434.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.1262, allocations: 89.06 kB / 434.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1263, allocations: 4 kB / 434.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1264, allocations: 12.03 kB / 434.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1264, allocations: 11.98 kB / 434.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1265, allocations: 4 kB / 434.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.1265, allocations: 107.1 kB / 435 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1265, allocations: 0 / 435 MB, free: 12.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1268, allocations: 28 kB / 435 MB, free: 12.27 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.0008641/0.1277, allocations: 0.8492 MB / 435.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.128, allocations: 111.9 kB / 435.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.128, allocations: 0 / 435.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1281, allocations: 55.91 kB / 436 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1285, allocations: 22.08 kB / 436 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.131, allocations: 2 MB / 438 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1314, allocations: 0.7157 MB / 438.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.768e-05/0.1314, allocations: 12.64 kB / 438.7 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.046e-05/0.1315, allocations: 39.42 kB / 438.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1315, allocations: 0 / 438.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.1535, allocations: 3.065 MB / 441.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.154, allocations: 14.09 kB / 441.9 MB, free: 5.352 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.727068748034071]