Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001676/0.001676, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.00207/0.00207, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.58/1.58, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1417, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004983/0.1467, allocations: 1.992 MB / 428.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1486, allocations: 0.6974 MB / 429 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1487, allocations: 11.94 kB / 429 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.1489, allocations: 15.8 kB / 429 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1491, allocations: 39.64 kB / 429.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1494, allocations: 55.8 kB / 429.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.1497, allocations: 139.3 kB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1499, allocations: 29.09 kB / 429.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1501, allocations: 51.8 kB / 429.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1502, allocations: 59.7 kB / 429.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1502, allocations: 16 kB / 429.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1504, allocations: 27.98 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.1504, allocations: 19.92 kB / 429.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.1505, allocations: 67.66 kB / 429.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.1509, allocations: 143.4 kB / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1509, allocations: 0 / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1509, allocations: 3.938 kB / 429.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1509, allocations: 0 / 429.7 MB, free: 1.43 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.001061/0.152, allocations: 446.8 kB / 430.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.152, allocations: 8.031 kB / 430.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.757e-05/0.1521, allocations: 46.73 kB / 430.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.1524, allocations: 24.88 kB / 430.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.1528, allocations: 208.1 kB / 430.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1529, allocations: 12.31 kB / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.1529, allocations: 16.12 kB / 430.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.1534, allocations: 113.6 kB / 430.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1534, allocations: 0 / 430.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1534, allocations: 4 kB / 430.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1534, allocations: 4 kB / 430.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.1539, allocations: 91.86 kB / 430.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.1553, allocations: 0.5129 MB / 431.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.1558, allocations: 102.5 kB / 431.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.156, allocations: 40.81 kB / 431.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.156, allocations: 4 kB / 431.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.156, allocations: 38.56 kB / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.156, allocations: 0 / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007774/0.1568, allocations: 145.9 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1569, allocations: 51.41 kB / 431.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1571, allocations: 140 kB / 431.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1571, allocations: 33.64 kB / 431.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1572, allocations: 116.2 kB / 431.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1573, allocations: 39.69 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.1574, allocations: 33.64 kB / 431.9 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.1576, allocations: 314.8 kB / 432.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1578, allocations: 35.97 kB / 432.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.158, allocations: 71.41 kB / 432.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.1584, allocations: 107.3 kB / 432.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.1584, allocations: 4 kB / 432.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005676/0.159, allocations: 157.3 kB / 432.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.159, allocations: 4 kB / 432.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.159, allocations: 0 / 432.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.1591, allocations: 4 kB / 432.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.1593, allocations: 31.92 kB / 432.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1593, allocations: 0 / 432.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.1595, allocations: 15.98 kB / 432.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1595, allocations: 8.094 kB / 432.6 MB, free: 14.22 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.000164/0.1597, allocations: 121.8 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.1597, allocations: 7.953 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.1598, allocations: 20.7 kB / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1598, allocations: 0 / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1598, allocations: 0 / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1598, allocations: 0 / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.1602, allocations: 225.3 kB / 433 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1602, allocations: 0 / 433 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.1605, allocations: 31.92 kB / 433 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.1605, allocations: 4 kB / 433 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.1606, allocations: 8 kB / 433 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1606, allocations: 0 / 433 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1606, allocations: 3.984 kB / 433 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.1613, allocations: 259.2 kB / 433.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.1614, allocations: 89.06 kB / 433.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1614, allocations: 4 kB / 433.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1616, allocations: 8.031 kB / 433.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.1617, allocations: 4.094 kB / 433.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1617, allocations: 3.938 kB / 433.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1618, allocations: 109.8 kB / 433.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1618, allocations: 0 / 433.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004731/0.1623, allocations: 35.89 kB / 433.5 MB, free: 13.21 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.001185/0.1634, allocations: 0.7943 MB / 434.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.1639, allocations: 91.95 kB / 434.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1639, allocations: 4.062 kB / 434.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1641, allocations: 39.97 kB / 434.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1646, allocations: 15.98 kB / 434.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.1684, allocations: 1.868 MB / 436.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.1689, allocations: 0.7121 MB / 437 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.318e-05/0.1689, allocations: 4.562 kB / 437 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.1691, allocations: 35.42 kB / 437.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1691, allocations: 3.938 kB / 437.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.2042, allocations: 2.741 MB / 439.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.019, allocations: 10.5 kB / 439.8 MB, free: 6.855 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable inertia.phi in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.888996328998473]