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.001409/0.001409, allocations: 120 kB / 18.49 MB, free: 4.566 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.001411/0.001411, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.413/1.413, allocations: 230.4 MB / 254.7 MB, free: 15.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1184, allocations: 53.38 MB / 427 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00358/0.122, allocations: 1.992 MB / 429 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1231, allocations: 0.7013 MB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.1232, allocations: 0 / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.1234, allocations: 19.8 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1235, allocations: 43.62 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1237, allocations: 51.81 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1239, allocations: 147.3 kB / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.124, allocations: 29.09 kB / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1242, allocations: 51.8 kB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1243, allocations: 59.7 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1243, allocations: 8 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.1244, allocations: 24 kB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.1244, allocations: 31.89 kB / 430.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.1245, allocations: 59.67 kB / 430.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1247, allocations: 143.5 kB / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1247, allocations: 0 / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1247, allocations: 4 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1247, allocations: 0 / 430.4 MB, free: 1.258 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.0007231/0.1255, allocations: 446.8 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1255, allocations: 8.031 kB / 430.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.058e-05/0.1255, allocations: 8.125 kB / 430.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.1256, allocations: 46.73 kB / 430.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1258, allocations: 32.81 kB / 430.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.126, allocations: 202.3 kB / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1261, allocations: 12.31 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1261, allocations: 15.94 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1264, allocations: 113.6 kB / 431.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1264, allocations: 0 / 431.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1264, allocations: 4 kB / 431.3 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1264, allocations: 8 kB / 431.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.1267, allocations: 95.88 kB / 431.4 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.1277, allocations: 0.5128 MB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.128, allocations: 106.5 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1282, allocations: 36.84 kB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1282, allocations: 4 kB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1282, allocations: 34.55 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1282, allocations: 0 / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004889/0.1287, allocations: 149.7 kB / 432.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1287, allocations: 55.41 kB / 432.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1289, allocations: 135.5 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1289, allocations: 25.7 kB / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.129, allocations: 120.2 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.129, allocations: 35.69 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.1291, allocations: 29.72 kB / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1292, allocations: 318.8 kB / 432.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1294, allocations: 35.97 kB / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1295, allocations: 73.84 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.1298, allocations: 115.3 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1298, allocations: 3.938 kB / 433.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003526/0.1302, allocations: 145.4 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1302, allocations: 4 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.1302, allocations: 8.078 kB / 433.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1302, allocations: 4 kB / 433.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1304, allocations: 28.36 kB / 433.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1304, allocations: 7.938 kB / 433.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.029e-05/0.1305, allocations: 7.984 kB / 433.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1305, allocations: 8 kB / 433.3 MB, free: 14.05 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.0001023/0.1306, allocations: 121.7 kB / 433.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.1306, allocations: 7.953 kB / 433.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.1307, allocations: 20.72 kB / 433.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1307, allocations: 0 / 433.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1307, allocations: 0 / 433.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1307, allocations: 3.984 kB / 433.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.131, allocations: 221.4 kB / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.131, allocations: 0 / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.1311, allocations: 35.91 kB / 433.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1311, allocations: 4 kB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1312, allocations: 0 / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1312, allocations: 0 / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1312, allocations: 4 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.1316, allocations: 263.2 kB / 434 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.1317, allocations: 85.06 kB / 434.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1317, allocations: 8.031 kB / 434.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1318, allocations: 4 kB / 434.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.1319, allocations: 15.98 kB / 434.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.1319, allocations: 4 kB / 434.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.132, allocations: 101.6 kB / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.132, allocations: 0 / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1322, allocations: 31.89 kB / 434.3 MB, free: 13.04 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.0008386/0.1331, allocations: 0.7982 MB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1334, allocations: 95.98 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1334, allocations: 0 / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.1335, allocations: 39.97 kB / 435.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1339, allocations: 20.19 kB / 435.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.1363, allocations: 1.872 MB / 437.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.1367, allocations: 0.7041 MB / 437.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.1368, allocations: 12.55 kB / 437.8 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.1368, allocations: 39.42 kB / 437.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1368, allocations: 0 / 437.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.1578, allocations: 2.781 MB / 440.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/7.984, allocations: 10.16 kB / 440.6 MB, free: 6.625 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.513137931004167]