Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.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.001559/0.001559, allocations: 123 kB / 17.79 MB, free: 5.227 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.002172/0.002172, allocations: 206.6 kB / 20.75 MB, free: 2.273 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.508/1.508, allocations: 230.5 MB / 254 MB, free: 15.04 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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 63.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1162, allocations: 53.37 MB / 426.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003914/0.1201, allocations: 2 MB / 428.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1216, allocations: 0.6974 MB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1218, allocations: 4 kB / 429 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1219, allocations: 19.8 kB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.1221, allocations: 43.64 kB / 429.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.1224, allocations: 51.8 kB / 429.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.1227, allocations: 143.3 kB / 429.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1229, allocations: 25.11 kB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.123, allocations: 59.77 kB / 429.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1231, allocations: 55.72 kB / 429.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.1232, allocations: 11.94 kB / 429.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1233, allocations: 31.98 kB / 429.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.1233, allocations: 23.92 kB / 429.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1234, allocations: 59.67 kB / 429.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1238, allocations: 147.4 kB / 429.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1238, allocations: 0 / 429.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1238, allocations: 4 kB / 429.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1238, allocations: 0 / 429.7 MB, free: 1.273 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.0007805/0.1246, allocations: 442.8 kB / 430.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1246, allocations: 12.03 kB / 430.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.458e-05/0.1247, allocations: 38.75 kB / 430.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.1249, allocations: 24.88 kB / 430.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.1253, allocations: 218 kB / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1253, allocations: 8.375 kB / 430.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.1253, allocations: 20.12 kB / 430.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.1256, allocations: 109.6 kB / 430.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1257, allocations: 4 kB / 430.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.1257, allocations: 8 kB / 430.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1257, allocations: 0 / 430.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.126, allocations: 91.81 kB / 430.7 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1271, allocations: 0.5167 MB / 431.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.1275, allocations: 94.58 kB / 431.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1276, allocations: 48.94 kB / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1276, allocations: 0 / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1276, allocations: 38.56 kB / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1276, allocations: 0 / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005117/0.1282, allocations: 145.5 kB / 431.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1282, allocations: 55.41 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1283, allocations: 133.7 kB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1284, allocations: 25.7 kB / 431.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.1285, allocations: 128.2 kB / 431.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.1285, allocations: 32.08 kB / 431.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.1286, allocations: 29.7 kB / 431.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1287, allocations: 322.8 kB / 432.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1289, allocations: 31.98 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.129, allocations: 75.33 kB / 432.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.1293, allocations: 107.3 kB / 432.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1293, allocations: 0 / 432.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003738/0.1297, allocations: 157.3 kB / 432.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1297, allocations: 4 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1297, allocations: 4 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1297, allocations: 0 / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1299, allocations: 39.95 kB / 432.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1299, allocations: 4 kB / 432.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.13, allocations: 4 kB / 432.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.13, allocations: 4 kB / 432.6 MB, free: 14.08 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 (14): * Single equations (assignments): 14 * 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.0001436/0.1302, allocations: 133.8 kB / 432.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1302, allocations: 7.953 kB / 432.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.1303, allocations: 16.72 kB / 432.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1303, allocations: 0 / 432.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1303, allocations: 0 / 432.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1303, allocations: 4 kB / 432.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.1305, allocations: 221.4 kB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1306, allocations: 0 / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1307, allocations: 23.98 kB / 433 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1307, allocations: 4 kB / 433 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1307, allocations: 8 kB / 433 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1307, allocations: 0 / 433 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1308, allocations: 4 kB / 433 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.1313, allocations: 271.3 kB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.1313, allocations: 81.06 kB / 433.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1314, allocations: 8 kB / 433.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1315, allocations: 8.031 kB / 433.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1315, allocations: 11.92 kB / 433.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1315, allocations: 4 kB / 433.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.136e-05/0.1316, allocations: 97.3 kB / 433.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1316, allocations: 0 / 433.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1319, allocations: 35.89 kB / 433.5 MB, free: 13.06 MB / 366.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 (9): * Single equations (assignments): 9 * 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.0008372/0.1327, allocations: 0.7982 MB / 434.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.133, allocations: 87.94 kB / 434.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.133, allocations: 192 / 434.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.1332, allocations: 47.91 kB / 434.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1335, allocations: 15.98 kB / 434.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.1362, allocations: 1.872 MB / 436.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1366, allocations: 0.7041 MB / 437.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.442e-05/0.1366, allocations: 16.53 kB / 437.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.1367, allocations: 35.42 kB / 437.1 MB, free: 9.332 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1367, allocations: 0 / 437.1 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.1688, allocations: 2.733 MB / 439.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.106, allocations: 0 / 439.9 MB, free: 6.699 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable inertia.phi in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.824009669944644]