Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.001726/0.001726, allocations: 116.9 kB / 18.45 MB, free: 4.566 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.002082/0.002082, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 207.6 MB / 231.8 MB, free: 4.199 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 56.34 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1101, allocations: 49.13 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004614/0.1147, allocations: 1.777 MB / 393.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1163, allocations: 0.6785 MB / 393.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1164, allocations: 7.938 kB / 393.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1166, allocations: 11.86 kB / 393.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.1167, allocations: 47.62 kB / 393.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.1171, allocations: 43.83 kB / 394 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.1174, allocations: 123.4 kB / 394.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1175, allocations: 28.19 kB / 394.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1177, allocations: 43.8 kB / 394.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1178, allocations: 47.78 kB / 394.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.1178, allocations: 8 kB / 394.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.118, allocations: 20 kB / 394.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.118, allocations: 19.97 kB / 394.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.1182, allocations: 55.73 kB / 394.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.1185, allocations: 127.5 kB / 394.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1185, allocations: 4 kB / 394.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1186, allocations: 0 / 394.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1186, allocations: 0 / 394.4 MB, free: 5.684 MB / 318.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.0009262/0.1195, allocations: 403.2 kB / 394.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.1195, allocations: 12.03 kB / 394.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.094e-05/0.1196, allocations: 42.73 kB / 394.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.1199, allocations: 28.88 kB / 394.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1203, allocations: 196.2 kB / 395.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1203, allocations: 8.562 kB / 395.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.1204, allocations: 16.12 kB / 395.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.1206, allocations: 89.66 kB / 395.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.1206, allocations: 7.953 kB / 395.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1207, allocations: 4 kB / 395.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1207, allocations: 3.938 kB / 395.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.1208, allocations: 59.91 kB / 395.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1219, allocations: 489.4 kB / 395.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.1222, allocations: 74.59 kB / 395.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.52e-05/0.1223, allocations: 24.89 kB / 395.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.1223, allocations: 7.938 kB / 395.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1223, allocations: 38.5 kB / 395.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.1223, allocations: 0 / 395.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003704/0.1227, allocations: 93.62 kB / 396 MB, free: 3.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1228, allocations: 63.33 kB / 396.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1229, allocations: 113.8 kB / 396.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1229, allocations: 25.7 kB / 396.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.123, allocations: 115.9 kB / 396.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.1231, allocations: 39.67 kB / 396.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.1231, allocations: 25.72 kB / 396.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1233, allocations: 318.8 kB / 396.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.1234, allocations: 16 kB / 396.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.895e-05/0.1235, allocations: 55.36 kB / 396.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1236, allocations: 83.52 kB / 396.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1236, allocations: 0 / 396.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002543/0.1239, allocations: 109.6 kB / 396.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1239, allocations: 4 kB / 396.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1239, allocations: 0 / 396.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1239, allocations: 4 kB / 396.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1241, allocations: 31.95 kB / 397 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1241, allocations: 4 kB / 397 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-05/0.1242, allocations: 15.89 kB / 397 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1242, allocations: 8 kB / 397 MB, free: 2.84 MB / 318.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 (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 prepare postOptimizeDAE: time 0.0002081/0.1244, allocations: 117.8 kB / 397.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.1245, allocations: 15.88 kB / 397.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.1245, allocations: 8.375 kB / 397.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.1245, allocations: 7.938 kB / 397.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1245, allocations: 0 / 397.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1245, allocations: 4 kB / 397.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.1248, allocations: 197.6 kB / 397.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1249, allocations: 0 / 397.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.125, allocations: 20 kB / 397.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.125, allocations: 4 kB / 397.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1251, allocations: 7.922 kB / 397.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1251, allocations: 4.031 kB / 397.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1251, allocations: 3.938 kB / 397.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.1254, allocations: 199.5 kB / 397.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.1255, allocations: 92.94 kB / 397.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1255, allocations: 4 kB / 397.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1256, allocations: 7.938 kB / 397.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.1256, allocations: 3.984 kB / 397.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1256, allocations: 8.031 kB / 397.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.076e-05/0.1257, allocations: 95.66 kB / 397.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1257, allocations: 0 / 397.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.1261, allocations: 23.95 kB / 397.8 MB, free: 1.938 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * 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.0006628/0.1268, allocations: 0.732 MB / 398.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.127, allocations: 59.92 kB / 398.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.127, allocations: 0 / 398.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.527e-05/0.1271, allocations: 31.92 kB / 398.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.1275, allocations: 16.28 kB / 398.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.1305, allocations: 1.72 MB / 400.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.1309, allocations: 0.7041 MB / 401.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.131, allocations: 12.41 kB / 401.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.1311, allocations: 27.38 kB / 401.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1311, allocations: 0 / 401.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.1587, allocations: 2.316 MB / 403.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.906, allocations: 4 kB / 403.4 MB, free: 12.12 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Rotational.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_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia.phi in file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.353890989994397]