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.001265/0.001265, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001429/0.001429, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.391/1.391, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.001629/0.001629, allocations: 51.92 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2317, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00333/0.235, allocations: 2.012 MB / 433.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2361, allocations: 0.7051 MB / 433.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.2362, allocations: 4 kB / 433.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2363, allocations: 19.78 kB / 433.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.2364, allocations: 43.58 kB / 433.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.2367, allocations: 55.8 kB / 434 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.2369, allocations: 143.3 kB / 434.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.237, allocations: 29.28 kB / 434.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.2371, allocations: 55.73 kB / 434.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.2372, allocations: 59.77 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.2372, allocations: 8 kB / 434.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.2373, allocations: 27.98 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.2373, allocations: 23.91 kB / 434.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.2374, allocations: 63.67 kB / 434.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.2377, allocations: 149.1 kB / 434.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2377, allocations: 0 / 434.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2377, allocations: 0 / 434.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2377, allocations: 4 kB / 434.5 MB, free: 3.473 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.0006593/0.2383, allocations: 369.7 kB / 434.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2384, allocations: 8.031 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.2384, allocations: 42.73 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.2386, allocations: 24.88 kB / 434.9 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.2389, allocations: 150.3 kB / 435.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2389, allocations: 8.375 kB / 435.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.2389, allocations: 16.12 kB / 435.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.2392, allocations: 113.6 kB / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2392, allocations: 0 / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.2392, allocations: 11.94 kB / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2392, allocations: 0 / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.2395, allocations: 83.94 kB / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/0.2404, allocations: 478.4 kB / 435.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.2407, allocations: 102.5 kB / 435.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2408, allocations: 40.81 kB / 435.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2408, allocations: 4 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2408, allocations: 34.56 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2408, allocations: 0 / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004399/0.2413, allocations: 149.6 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.2413, allocations: 59.41 kB / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2415, allocations: 132.6 kB / 436.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2415, allocations: 25.7 kB / 436.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.2416, allocations: 124.2 kB / 436.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.2416, allocations: 35.69 kB / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.2416, allocations: 29.7 kB / 436.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2418, allocations: 318.8 kB / 436.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.2419, allocations: 35.98 kB / 436.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.2421, allocations: 75.33 kB / 436.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.2423, allocations: 107.3 kB / 437 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2423, allocations: 0 / 437 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000319/0.2426, allocations: 149.4 kB / 437.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2427, allocations: 4 kB / 437.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2427, allocations: 4 kB / 437.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2427, allocations: 0 / 437.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2428, allocations: 40.06 kB / 437.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2429, allocations: 4 kB / 437.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.2429, allocations: 4 kB / 437.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.243, allocations: 4 kB / 437.2 MB, free: 0.5195 MB / 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.0001116/0.2431, allocations: 133.6 kB / 437.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.2431, allocations: 7.953 kB / 437.4 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.2431, allocations: 16.72 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2431, allocations: 0 / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2432, allocations: 0 / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2432, allocations: 4 kB / 437.4 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.2434, allocations: 192.5 kB / 437.6 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2434, allocations: 4 kB / 437.6 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.2436, allocations: 27.98 kB / 437.6 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2436, allocations: 0 / 437.6 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2436, allocations: 4 kB / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2436, allocations: 0 / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2436, allocations: 0 / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.2441, allocations: 271.6 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.2441, allocations: 11.89 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.2441, allocations: 4 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2442, allocations: 8.031 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.2443, allocations: 7.984 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.2443, allocations: 4 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.5e-05/0.2443, allocations: 99.27 kB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2443, allocations: 0 / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.2446, allocations: 31.95 kB / 438 MB, free: 15.64 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.0007446/0.2453, allocations: 0.7982 MB / 438.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.2456, allocations: 95.86 kB / 438.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2456, allocations: 0 / 438.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2457, allocations: 39.92 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.2461, allocations: 26.81 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.2485, allocations: 1.894 MB / 440.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.2488, allocations: 0.7047 MB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.083e-05/0.2489, allocations: 16.34 kB / 441.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.249, allocations: 35.42 kB / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.249, allocations: 0 / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.2805, allocations: 2.877 MB / 444.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.04, allocations: 13.69 kB / 444.5 MB, free: 9.145 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.268039121991023]