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.0013/0.0013, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001357/0.001357, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.514/1.514, allocations: 230.5 MB / 254 MB, free: 15.17 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.89 kB / 373 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1173, allocations: 53.37 MB / 426.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003805/0.1211, allocations: 2.013 MB / 428.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1224, allocations: 0.7012 MB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1226, allocations: 4 kB / 429.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.1227, allocations: 19.8 kB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1228, allocations: 43.62 kB / 429.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1231, allocations: 59.8 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.1233, allocations: 143.3 kB / 429.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1235, allocations: 25.09 kB / 429.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1236, allocations: 51.8 kB / 429.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1237, allocations: 63.7 kB / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1237, allocations: 12 kB / 429.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.1238, allocations: 27.98 kB / 429.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.1238, allocations: 23.91 kB / 429.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.1239, allocations: 63.67 kB / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1242, allocations: 147.4 kB / 429.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1242, allocations: 4 kB / 429.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1242, allocations: 0 / 429.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1242, allocations: 0 / 429.7 MB, free: 1.266 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.0007584/0.1249, allocations: 450.8 kB / 430.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.125, allocations: 8.031 kB / 430.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.768e-05/0.125, allocations: 42.73 kB / 430.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.1252, allocations: 32.83 kB / 430.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1255, allocations: 204.1 kB / 430.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1255, allocations: 8.375 kB / 430.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.1256, allocations: 16.12 kB / 430.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.1258, allocations: 109.6 kB / 430.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1259, allocations: 7.953 kB / 430.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1259, allocations: 7.984 kB / 430.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1259, allocations: 4 kB / 430.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.1262, allocations: 103.8 kB / 430.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.127, allocations: 483.5 kB / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.1274, allocations: 122.6 kB / 431.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1275, allocations: 41 kB / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1276, allocations: 7.938 kB / 431.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1276, allocations: 42.48 kB / 431.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1276, allocations: 0 / 431.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001087/0.1287, allocations: 486.9 kB / 431.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1287, allocations: 55.41 kB / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1288, allocations: 136.8 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1289, allocations: 29.7 kB / 432.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.1289, allocations: 116.2 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.129, allocations: 47.62 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.129, allocations: 41.66 kB / 432.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1292, allocations: 326.8 kB / 432.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1293, allocations: 39.98 kB / 432.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1295, allocations: 73.27 kB / 432.7 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.1298, allocations: 123.3 kB / 432.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1298, allocations: 0 / 432.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004008/0.1302, allocations: 173.5 kB / 433 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1302, allocations: 8.062 kB / 433 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1302, allocations: 4 kB / 433 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1302, allocations: 0 / 433 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1304, allocations: 43.91 kB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1304, allocations: 0 / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.1305, allocations: 4 kB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1305, allocations: 11.98 kB / 433.1 MB, free: 13.62 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.0001155/0.1307, allocations: 125.8 kB / 433.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.1307, allocations: 15.89 kB / 433.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.1308, allocations: 16.84 kB / 433.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1308, allocations: 0 / 433.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1308, allocations: 0 / 433.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1308, allocations: 0 / 433.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/0.1315, allocations: 480.1 kB / 433.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1315, allocations: 0 / 433.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.1317, allocations: 39.97 kB / 433.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1317, allocations: 3.984 kB / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1317, allocations: 3.984 kB / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1317, allocations: 4 kB / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1317, allocations: 0 / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.1323, allocations: 308.1 kB / 434 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.1324, allocations: 85.06 kB / 434.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1324, allocations: 4.031 kB / 434.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1325, allocations: 8 kB / 434.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1326, allocations: 15.92 kB / 434.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1326, allocations: 7.938 kB / 434.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.268e-05/0.1327, allocations: 103.3 kB / 434.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1327, allocations: 0 / 434.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1329, allocations: 35.92 kB / 434.3 MB, free: 12.28 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.0009296/0.1339, allocations: 0.835 MB / 435.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000366/0.1342, allocations: 111.9 kB / 435.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1342, allocations: 0 / 435.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1344, allocations: 60.16 kB / 435.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1347, allocations: 19.98 kB / 435.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.1373, allocations: 1.983 MB / 437.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1377, allocations: 0.7157 MB / 438 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.672e-05/0.1377, allocations: 12.66 kB / 438 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.1378, allocations: 35.42 kB / 438.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1378, allocations: 0 / 438.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.1661, allocations: 3.036 MB / 441.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.201, allocations: 4.062 kB / 441.1 MB, free: 5.418 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentForce.lossPower in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.935381036950275]