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.001221/0.001221, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001327/0.001327, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.357/1.357, allocations: 230.6 MB / 258.3 MB, free: 7.992 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 43.94 kB / 378.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2311, allocations: 53.37 MB / 431.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003285/0.2344, allocations: 2.012 MB / 433.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2355, allocations: 0.7013 MB / 434.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.2355, allocations: 7.938 kB / 434.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2357, allocations: 15.8 kB / 434.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.2358, allocations: 47.62 kB / 434.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.236, allocations: 47.81 kB / 434.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2362, allocations: 151.3 kB / 434.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2363, allocations: 31.39 kB / 434.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.2364, allocations: 55.73 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.2365, allocations: 55.77 kB / 435 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2365, allocations: 8 kB / 435 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.2366, allocations: 24 kB / 435.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.2366, allocations: 27.91 kB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.2367, allocations: 63.66 kB / 435.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.2369, allocations: 147.4 kB / 435.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2369, allocations: 0 / 435.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2369, allocations: 7.938 kB / 435.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2369, allocations: 0 / 435.3 MB, free: 3.434 MB / 334.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.0006283/0.2376, allocations: 369.6 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2376, allocations: 8.031 kB / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.674e-05/0.2376, allocations: 4.188 kB / 435.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.2377, allocations: 42.75 kB / 435.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.2378, allocations: 32.86 kB / 435.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2381, allocations: 142.3 kB / 435.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2381, allocations: 8.375 kB / 435.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.2381, allocations: 15.92 kB / 435.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.2384, allocations: 113.6 kB / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2384, allocations: 0 / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2385, allocations: 4 kB / 436 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2385, allocations: 4 kB / 436 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.2387, allocations: 91.92 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.2396, allocations: 466.4 kB / 436.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.2399, allocations: 110.4 kB / 436.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.24, allocations: 36.88 kB / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.24, allocations: 0 / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2401, allocations: 34.56 kB / 436.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 7.41e-07/0.2401, allocations: 0 / 436.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004558/0.2405, allocations: 153.9 kB / 436.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.2406, allocations: 51.5 kB / 437 MB, free: 1.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.2407, allocations: 140.6 kB / 437.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.2407, allocations: 25.7 kB / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.2408, allocations: 116.1 kB / 437.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.2408, allocations: 39.69 kB / 437.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.2409, allocations: 33.7 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.241, allocations: 318.8 kB / 437.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2411, allocations: 39.91 kB / 437.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2413, allocations: 70.78 kB / 437.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.2415, allocations: 111.3 kB / 437.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.2415, allocations: 7.938 kB / 437.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003176/0.2418, allocations: 145.4 kB / 438 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2419, allocations: 4 kB / 438 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2419, allocations: 96 / 438 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2419, allocations: 8 kB / 438 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.242, allocations: 31.92 kB / 438 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.242, allocations: 0 / 438 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.2421, allocations: 15.98 kB / 438 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2421, allocations: 11.94 kB / 438 MB, free: 476 kB / 334.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.000103/0.2422, allocations: 121.8 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2423, allocations: 11.91 kB / 438.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.2423, allocations: 28.69 kB / 438.2 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2423, allocations: 0 / 438.2 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2423, allocations: 0 / 438.2 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2423, allocations: 0 / 438.2 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.2426, allocations: 196.5 kB / 438.4 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2426, allocations: 0 / 438.4 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2427, allocations: 23.98 kB / 438.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2427, allocations: 0 / 438.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2427, allocations: 8 kB / 438.4 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2427, allocations: 0 / 438.4 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2427, allocations: 0 / 438.4 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.2432, allocations: 259.3 kB / 438.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.2433, allocations: 11.91 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.2433, allocations: 4 kB / 438.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2434, allocations: 8.125 kB / 438.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2434, allocations: 11.92 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.2434, allocations: 8 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.218e-05/0.2435, allocations: 99.27 kB / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2435, allocations: 0 / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.2438, allocations: 28 kB / 438.8 MB, free: 15.59 MB / 350.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.0007322/0.2445, allocations: 0.7943 MB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.2448, allocations: 91.83 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2448, allocations: 0 / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.2449, allocations: 39.97 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.2452, allocations: 24.17 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.2476, allocations: 1.886 MB / 441.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.2479, allocations: 0.7047 MB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.181e-05/0.248, allocations: 16.34 kB / 442.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.2481, allocations: 35.38 kB / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2481, allocations: 0 / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.273, allocations: 2.922 MB / 445.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.78, allocations: 15.61 kB / 445.4 MB, free: 9.078 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_4.1.0_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: 13.05984267796157]