Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 192.8 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.7 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 43.92 kB / 371.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2318, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002841/0.2346, allocations: 1.79 MB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.2356, allocations: 0.6388 MB / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.2357, allocations: 4 kB / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.2358, allocations: 19.8 kB / 425.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.2359, allocations: 35.69 kB / 425.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.2361, allocations: 51.83 kB / 425.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.2363, allocations: 123.4 kB / 426.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2364, allocations: 27.95 kB / 426.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.2365, allocations: 43.8 kB / 426.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.2366, allocations: 47.78 kB / 426.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2366, allocations: 8 kB / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.312e-05/0.2367, allocations: 20 kB / 426.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2367, allocations: 19.92 kB / 426.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.2368, allocations: 51.78 kB / 426.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.237, allocations: 136.2 kB / 426.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.237, allocations: 4 kB / 426.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.237, allocations: 0 / 426.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.237, allocations: 0 / 426.4 MB, free: 11.58 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005148/0.2375, allocations: 330 kB / 426.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2376, allocations: 12.03 kB / 426.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.493e-05/0.2376, allocations: 4.312 kB / 426.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.2376, allocations: 42.73 kB / 426.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.2378, allocations: 28.88 kB / 426.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.238, allocations: 134.4 kB / 426.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.238, allocations: 8.312 kB / 427 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.238, allocations: 15.95 kB / 427 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.2382, allocations: 93.64 kB / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2382, allocations: 3.984 kB / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2382, allocations: 4 kB / 427.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2382, allocations: 0 / 427.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.2384, allocations: 67.84 kB / 427.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.2391, allocations: 422.5 kB / 427.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.2393, allocations: 86.58 kB / 427.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.2394, allocations: 24.89 kB / 427.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.2394, allocations: 4 kB / 427.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.2394, allocations: 34.56 kB / 427.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2394, allocations: 0 / 427.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002179/0.2396, allocations: 97.75 kB / 427.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2397, allocations: 51.41 kB / 427.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2398, allocations: 133.7 kB / 428 MB, free: 9.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.2398, allocations: 25.7 kB / 428 MB, free: 9.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.2399, allocations: 108 kB / 428.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.2399, allocations: 31.75 kB / 428.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.2399, allocations: 25.7 kB / 428.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2401, allocations: 322.8 kB / 428.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.2401, allocations: 20 kB / 428.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.2402, allocations: 51.42 kB / 428.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.2403, allocations: 83.3 kB / 428.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2403, allocations: 0 / 428.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001707/0.2405, allocations: 113.5 kB / 428.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2405, allocations: 11.28 kB / 428.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2405, allocations: 0 / 428.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2405, allocations: 7.875 kB / 428.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2406, allocations: 31.92 kB / 428.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2406, allocations: 4.094 kB / 428.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.2407, allocations: 11.95 kB / 428.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2407, allocations: 0 / 428.8 MB, free: 8.969 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 (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 prepare postOptimizeDAE: time 9.428e-05/0.2408, allocations: 121.8 kB / 428.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.2408, allocations: 7.953 kB / 428.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.2408, allocations: 20.3 kB / 428.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2409, allocations: 0 / 428.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2409, allocations: 0 / 428.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2409, allocations: 0 / 428.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.2411, allocations: 172.9 kB / 429.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2411, allocations: 0 / 429.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.2412, allocations: 23.92 kB / 429.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2412, allocations: 0 / 429.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2412, allocations: 11.94 kB / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2412, allocations: 0 / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2412, allocations: 0 / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.2414, allocations: 195.5 kB / 429.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.2415, allocations: 11.95 kB / 429.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2415, allocations: 11.97 kB / 429.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.2416, allocations: 4 kB / 429.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.2416, allocations: 0 / 429.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2416, allocations: 4 kB / 429.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.211e-05/0.2416, allocations: 95.2 kB / 429.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2416, allocations: 0 / 429.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.2419, allocations: 31.98 kB / 429.5 MB, free: 8.199 MB / 334.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 (8): * Single equations (assignments): 8 * 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.0005137/0.2424, allocations: 0.7399 MB / 430.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.2425, allocations: 64.33 kB / 430.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2425, allocations: 3.938 kB / 430.3 MB, free: 7.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.2426, allocations: 23.94 kB / 430.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2429, allocations: 24.3 kB / 430.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.2448, allocations: 1.721 MB / 432.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.2451, allocations: 0.7002 MB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.073e-05/0.2452, allocations: 8.422 kB / 432.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.2453, allocations: 23.44 kB / 432.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2453, allocations: 0 / 432.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.2682, allocations: 2.485 MB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.58, allocations: 11.56 kB / 435.3 MB, free: 2.402 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.814131827966776]