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.001416/0.001416, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001497/0.001497, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.456/1.456, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.002051/0.002051, allocations: 67.89 kB / 373.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1224, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004182/0.1266, allocations: 2.008 MB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.128, allocations: 0.7013 MB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1282, allocations: 0 / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.1283, allocations: 23.8 kB / 429.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1285, allocations: 39.64 kB / 429.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1288, allocations: 59.73 kB / 429.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.1291, allocations: 147.3 kB / 429.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1292, allocations: 21.11 kB / 429.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1294, allocations: 59.72 kB / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1295, allocations: 59.77 kB / 429.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1295, allocations: 12 kB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1296, allocations: 31.98 kB / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.1296, allocations: 19.91 kB / 429.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.1297, allocations: 67.67 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.13, allocations: 147.4 kB / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.13, allocations: 0 / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.13, allocations: 0 / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.13, allocations: 0 / 430 MB, free: 1.582 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.0007941/0.1308, allocations: 457.5 kB / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1309, allocations: 8.031 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.1309, allocations: 42.69 kB / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.1311, allocations: 32.81 kB / 430.6 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1315, allocations: 200.2 kB / 430.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1315, allocations: 8.375 kB / 430.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.1315, allocations: 16.12 kB / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1318, allocations: 117.6 kB / 430.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.1319, allocations: 3.953 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1319, allocations: 8 kB / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1319, allocations: 0 / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.1322, allocations: 99.86 kB / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.1332, allocations: 487.5 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.1336, allocations: 110.6 kB / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1337, allocations: 41.09 kB / 431.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1337, allocations: 7.938 kB / 431.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1337, allocations: 46.44 kB / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1337, allocations: 0 / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.1349, allocations: 474.5 kB / 432.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.1349, allocations: 55.41 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1351, allocations: 138.1 kB / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1351, allocations: 29.7 kB / 432.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.1352, allocations: 112.2 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.1352, allocations: 51.61 kB / 432.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.1353, allocations: 37.67 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1354, allocations: 326.8 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1356, allocations: 43.91 kB / 432.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1357, allocations: 77.75 kB / 433 MB, free: 14.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.136, allocations: 119.3 kB / 433.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.136, allocations: 0 / 433.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003675/0.1363, allocations: 184.4 kB / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1364, allocations: 4 kB / 433.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1364, allocations: 4 kB / 433.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1364, allocations: 0 / 433.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1366, allocations: 39.98 kB / 433.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1366, allocations: 0 / 433.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.986e-05/0.1367, allocations: 7.984 kB / 433.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1367, allocations: 12.06 kB / 433.4 MB, free: 13.95 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.0001265/0.1368, allocations: 125.8 kB / 433.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.1369, allocations: 11.89 kB / 433.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.1369, allocations: 20.83 kB / 433.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1369, allocations: 0 / 433.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1369, allocations: 0 / 433.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1369, allocations: 0 / 433.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.1377, allocations: 484.1 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1377, allocations: 0 / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.138, allocations: 39.92 kB / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.138, allocations: 0 / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.138, allocations: 3.984 kB / 434 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.138, allocations: 4 kB / 434 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.138, allocations: 0 / 434 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.1385, allocations: 314.7 kB / 434.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.1386, allocations: 85.06 kB / 434.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1386, allocations: 0 / 434.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1388, allocations: 16.03 kB / 434.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1388, allocations: 7.984 kB / 434.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1388, allocations: 4 kB / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.278e-05/0.1389, allocations: 105.8 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1389, allocations: 0 / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1392, allocations: 31.94 kB / 434.6 MB, free: 12.61 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.0009046/0.1401, allocations: 0.835 MB / 435.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.1405, allocations: 120 kB / 435.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1405, allocations: 0 / 435.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1406, allocations: 55.91 kB / 435.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.141, allocations: 22.42 kB / 435.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1439, allocations: 1.995 MB / 437.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1443, allocations: 0.7079 MB / 438.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.917e-05/0.1444, allocations: 16.64 kB / 438.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.1445, allocations: 35.42 kB / 438.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.1445, allocations: 0 / 438.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.1744, allocations: 3.036 MB / 441.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.131, allocations: 8.047 kB / 441.4 MB, free: 5.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.851074032019824]