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.001376/0.001376, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001779/0.001779, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.494/1.494, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",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.001966/0.001966, allocations: 59.05 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2852, allocations: 49.16 MB / 396.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003442/0.2886, allocations: 1.78 MB / 398.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2898, allocations: 0.694 MB / 398.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.29, allocations: 2.25 kB / 398.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.2901, allocations: 17.84 kB / 398.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.811e-05/0.2902, allocations: 33.14 kB / 398.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.2904, allocations: 48.89 kB / 398.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.2905, allocations: 118.3 kB / 399 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2907, allocations: 23.7 kB / 399.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.2907, allocations: 44.45 kB / 399.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.2908, allocations: 48.05 kB / 399.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.2908, allocations: 11.97 kB / 399.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.2909, allocations: 24.62 kB / 399.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.291, allocations: 18.84 kB / 399.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.291, allocations: 54.45 kB / 399.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.2912, allocations: 125.8 kB / 399.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2912, allocations: 0 / 399.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.2912, allocations: 1.125 kB / 399.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2912, allocations: 0 / 399.4 MB, free: 6.98 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.0004908/0.2917, allocations: 335.1 kB / 399.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2918, allocations: 13.8 kB / 399.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.2918, allocations: 44.05 kB / 399.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.292, allocations: 24.58 kB / 399.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.2922, allocations: 142 kB / 399.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2922, allocations: 5.656 kB / 399.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2923, allocations: 13.66 kB / 399.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.2924, allocations: 95.12 kB / 400 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2925, allocations: 9.766 kB / 400 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2925, allocations: 1.094 kB / 400 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2925, allocations: 2.156 kB / 400 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.2926, allocations: 63.72 kB / 400.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.2932, allocations: 418.2 kB / 400.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.2935, allocations: 82.12 kB / 400.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.2935, allocations: 29.17 kB / 400.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2935, allocations: 8.969 kB / 400.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.2935, allocations: 36.86 kB / 400.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2936, allocations: 0 / 400.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002346/0.2938, allocations: 97.88 kB / 400.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.2938, allocations: 56.84 kB / 400.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.2939, allocations: 121.4 kB / 400.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.2939, allocations: 27.05 kB / 401 MB, free: 5.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.2939, allocations: 108 kB / 401.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.294, allocations: 38.94 kB / 401.1 MB, free: 5.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.294, allocations: 22.41 kB / 401.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.2941, allocations: 319.9 kB / 401.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.2941, allocations: 22.52 kB / 401.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.2942, allocations: 61.77 kB / 401.5 MB, free: 5.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.2942, allocations: 74.59 kB / 401.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2943, allocations: 0 / 401.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001468/0.2944, allocations: 118.2 kB / 401.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2944, allocations: 9.406 kB / 401.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2944, allocations: 1.719 kB / 401.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2944, allocations: 1.281 kB / 401.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2946, allocations: 26.94 kB / 401.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2946, allocations: 2.984 kB / 401.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.2946, allocations: 9.297 kB / 401.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2946, allocations: 9.031 kB / 401.8 MB, free: 4.977 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 6.827e-05/0.2947, allocations: 118.5 kB / 401.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.2947, allocations: 8.547 kB / 401.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.2948, allocations: 18.41 kB / 401.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2948, allocations: 5.188 kB / 401.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2948, allocations: 0.75 kB / 401.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2948, allocations: 1.312 kB / 401.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2949, allocations: 163.7 kB / 402.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2949, allocations: 1.188 kB / 402.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.2951, allocations: 19.38 kB / 402.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2951, allocations: 2.109 kB / 402.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2951, allocations: 9.406 kB / 402.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2951, allocations: 3.938 kB / 402.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2951, allocations: 4.562 kB / 402.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.2953, allocations: 205.4 kB / 402.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.2953, allocations: 6.859 kB / 402.3 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.2953, allocations: 6.562 kB / 402.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.2954, allocations: 8.5 kB / 402.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.2954, allocations: 4.453 kB / 402.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2954, allocations: 1.906 kB / 402.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.913e-05/0.2955, allocations: 100.8 kB / 402.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2955, allocations: 0 / 402.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000243/0.2957, allocations: 32.92 kB / 402.5 MB, free: 4.371 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.0003052/0.296, allocations: 0.7276 MB / 403.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.2962, allocations: 59.84 kB / 403.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2962, allocations: 4.188 kB / 403.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.2962, allocations: 26.05 kB / 403.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2965, allocations: 25.77 kB / 403.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.298, allocations: 1.713 MB / 405 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.2982, allocations: 0.6982 MB / 405.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.163e-05/0.2982, allocations: 14.02 kB / 405.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.2983, allocations: 26.33 kB / 405.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2983, allocations: 1.156 kB / 405.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.3307, allocations: 2.462 MB / 408.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.36, allocations: 1.281 kB / 408.2 MB, free: 0.7188 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: 13.794615025864914]