Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.005414/0.005414, allocations: 114.3 kB / 21.97 MB, free: 5.223 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.001571/0.001571, allocations: 216.2 kB / 25.28 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 58.89 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2277, allocations: 49.16 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002415/0.2301, allocations: 1.772 MB / 398.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.2309, allocations: 0.6974 MB / 399.6 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.231, allocations: 6.25 kB / 399.6 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.2311, allocations: 13.16 kB / 399.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.2312, allocations: 37.58 kB / 399.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.2314, allocations: 44.91 kB / 399.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.2315, allocations: 121.3 kB / 399.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.2316, allocations: 16.44 kB / 399.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.2317, allocations: 51.47 kB / 399.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.2317, allocations: 47.47 kB / 399.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2318, allocations: 15.66 kB / 399.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.2318, allocations: 22.11 kB / 400 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.2319, allocations: 18.09 kB / 400 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.2319, allocations: 53.69 kB / 400 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.2321, allocations: 127.5 kB / 400.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2321, allocations: 0 / 400.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2321, allocations: 0 / 400.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2321, allocations: 0 / 400.2 MB, free: 7.004 MB / 318.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.0004066/0.2325, allocations: 337 kB / 400.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2325, allocations: 13.64 kB / 400.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.636e-05/0.2326, allocations: 3.031 kB / 400.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.469e-05/0.2326, allocations: 43.77 kB / 400.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.2327, allocations: 23.77 kB / 400.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.2329, allocations: 133.8 kB / 400.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2329, allocations: 12.38 kB / 400.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.2329, allocations: 15.03 kB / 400.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2331, allocations: 87.86 kB / 400.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2331, allocations: 9.453 kB / 400.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2331, allocations: 4 kB / 400.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2331, allocations: 2.594 kB / 400.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.2332, allocations: 59.11 kB / 400.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.2338, allocations: 430.6 kB / 401.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.234, allocations: 87.61 kB / 401.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.2341, allocations: 24.17 kB / 401.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.2341, allocations: 3.938 kB / 401.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.2341, allocations: 41.69 kB / 401.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2341, allocations: 0 / 401.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002086/0.2343, allocations: 102.2 kB / 401.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.766e-05/0.2343, allocations: 51.41 kB / 401.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.2344, allocations: 122.7 kB / 401.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.2344, allocations: 26.92 kB / 401.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.2344, allocations: 112.5 kB / 401.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2344, allocations: 30.36 kB / 401.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.2345, allocations: 26.22 kB / 401.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.2345, allocations: 320.8 kB / 402.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.2346, allocations: 24.7 kB / 402.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.2346, allocations: 56.11 kB / 402.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.796e-05/0.2347, allocations: 80.45 kB / 402.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2347, allocations: 5.25 kB / 402.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001382/0.2348, allocations: 105.6 kB / 402.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2348, allocations: 4.906 kB / 402.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2348, allocations: 2.25 kB / 402.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2349, allocations: 9.312 kB / 402.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.235, allocations: 27.25 kB / 402.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.235, allocations: 2.594 kB / 402.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.235, allocations: 10.17 kB / 402.6 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.235, allocations: 3.969 kB / 402.6 MB, free: 5 MB / 318.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 5.264e-05/0.2351, allocations: 126.7 kB / 402.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.2351, allocations: 7.891 kB / 402.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.2351, allocations: 15.08 kB / 402.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2351, allocations: 1.656 kB / 402.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2351, allocations: 0 / 402.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2351, allocations: 1.688 kB / 402.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.2353, allocations: 172.5 kB / 402.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2353, allocations: 0 / 402.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2354, allocations: 19.98 kB / 402.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2354, allocations: 5.875 kB / 402.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2354, allocations: 9 kB / 402.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2354, allocations: 0 / 402.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2354, allocations: 2.203 kB / 402.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.2356, allocations: 204 kB / 403.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.2356, allocations: 7.016 kB / 403.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.2356, allocations: 6.125 kB / 403.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.2357, allocations: 0.75 kB / 403.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.2357, allocations: 17.17 kB / 403.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.2357, allocations: 5.219 kB / 403.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.2358, allocations: 93.45 kB / 403.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2358, allocations: 0 / 403.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.236, allocations: 31.92 kB / 403.3 MB, free: 4.391 MB / 318.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.0002667/0.2363, allocations: 0.7316 MB / 404 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.2364, allocations: 63.36 kB / 404.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2364, allocations: 0 / 404.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.2364, allocations: 25.72 kB / 404.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.2367, allocations: 14.33 kB / 404.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.238, allocations: 1.722 MB / 405.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2381, allocations: 0.6995 MB / 406.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.2381, allocations: 10.08 kB / 406.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.2382, allocations: 25.53 kB / 406.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2382, allocations: 1.25 kB / 406.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.2695, allocations: 2.489 MB / 409 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.64, allocations: 10.55 kB / 409.1 MB, free: 0.7109 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.806183492997661]