Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.00083/0.00083, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004055/0.004055, allocations: 165.5 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.8427/0.8427, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.263e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002314/0.002337, allocations: 1.72 MB / 300.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.003295, allocations: 0.6436 MB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.003391, allocations: 4 kB / 300.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.003516, allocations: 15.84 kB / 300.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.003594, allocations: 39.64 kB / 300.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.003874, allocations: 51.8 kB / 300.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.004039, allocations: 123.3 kB / 301 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.004166, allocations: 17.59 kB / 301 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.004252, allocations: 75.8 kB / 301.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.004333, allocations: 35.89 kB / 301.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.004352, allocations: 11.94 kB / 301.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.004435, allocations: 31.92 kB / 301.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.004458, allocations: 19.92 kB / 301.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.004495, allocations: 31.92 kB / 301.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.004717, allocations: 131.6 kB / 301.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.004722, allocations: 0 / 301.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.004724, allocations: 0 / 301.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.004731, allocations: 3.938 kB / 301.4 MB, free: 0.5664 MB / 282.7 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.0005494/0.00528, allocations: 346 kB / 301.7 MB, free: 204 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.005322, allocations: 11.98 kB / 301.7 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.005361, allocations: 38.75 kB / 301.8 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.005497, allocations: 24.88 kB / 301.8 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.133/0.1385, allocations: 134 kB / 301.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1385, allocations: 7.844 kB / 301.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.1385, allocations: 11.75 kB / 301.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.1388, allocations: 98.42 kB / 302 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1388, allocations: 0 / 302 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1388, allocations: 6.219 kB / 302 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1388, allocations: 3.188 kB / 302 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1389, allocations: 57.5 kB / 302.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.1396, allocations: 396.8 kB / 302.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.14, allocations: 96.5 kB / 302.6 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.14, allocations: 31.97 kB / 302.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.14, allocations: 0.8438 kB / 302.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.14, allocations: 37.77 kB / 302.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.795e-06/0.1401, allocations: 0.9062 kB / 302.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009167/0.141, allocations: 390 kB / 303 MB, free: 13.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.141, allocations: 56 kB / 303.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.1411, allocations: 125.3 kB / 303.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.1411, allocations: 26.77 kB / 303.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.1411, allocations: 104.2 kB / 303.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1411, allocations: 53.52 kB / 303.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.1412, allocations: 31.56 kB / 303.4 MB, free: 13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.1412, allocations: 321.8 kB / 303.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.1413, allocations: 27.86 kB / 303.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.1413, allocations: 57 kB / 303.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.1414, allocations: 97.98 kB / 303.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1414, allocations: 0 / 303.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001417/0.1416, allocations: 135.5 kB / 304 MB, free: 12.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1416, allocations: 6.094 kB / 304 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1416, allocations: 1.844 kB / 304 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1416, allocations: 1.125 kB / 304 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1417, allocations: 36.42 kB / 304.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.1417, allocations: 2.484 kB / 304.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.1417, allocations: 3 kB / 304.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1417, allocations: 7.219 kB / 304.1 MB, free: 12.59 MB / 282.7 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 (17): * Single equations (assignments): 17 * 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 5.717e-05/0.1418, allocations: 128.1 kB / 304.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.1418, allocations: 17.11 kB / 304.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.1419, allocations: 13.44 kB / 304.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1419, allocations: 1.25 kB / 304.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1419, allocations: 5.375 kB / 304.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1419, allocations: 4.266 kB / 304.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1423, allocations: 388.7 kB / 304.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1423, allocations: 6.109 kB / 304.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1424, allocations: 28.48 kB / 304.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1424, allocations: 6.219 kB / 304.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1424, allocations: 1.75 kB / 304.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1424, allocations: 2.25 kB / 304.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1424, allocations: 0.7969 kB / 304.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1427, allocations: 250.5 kB / 304.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.1427, allocations: 12.95 kB / 304.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1427, allocations: 1.891 kB / 304.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.1428, allocations: 2.156 kB / 304.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1428, allocations: 10.81 kB / 305 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1428, allocations: 7.859 kB / 305 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.1428, allocations: 92.38 kB / 305 MB, free: 11.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1428, allocations: 4 kB / 305.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.143, allocations: 25.44 kB / 305.1 MB, free: 11.94 MB / 282.7 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 (12): * Single equations (assignments): 12 * 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.0003731/0.1434, allocations: 0.7766 MB / 305.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1436, allocations: 78.34 kB / 305.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1436, allocations: 0 / 305.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.1436, allocations: 41.12 kB / 306 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1439, allocations: 26.77 kB / 306 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1453, allocations: 1.724 MB / 307.7 MB, free: 9.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.1453, allocations: 105.5 kB / 307.8 MB, free: 9.766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.1454, allocations: 12.78 kB / 307.8 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.1454, allocations: 37.44 kB / 307.9 MB, free: 9.734 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.1454, allocations: 0 / 307.9 MB, free: 9.734 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.1679, allocations: 3.3 MB / 311.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.232, allocations: 8.938 kB / 311.2 MB, free: 8.527 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eddyCurrentForce.lossPower in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.880969917401671]