Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.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.001516/0.001516, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001797/0.001797, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.388/1.388, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 51.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2288, allocations: 53.36 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003424/0.2322, allocations: 1.955 MB / 433 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2333, allocations: 0.6507 MB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.2334, allocations: 0 / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2335, allocations: 19.8 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/0.2336, allocations: 39.64 kB / 433.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.2339, allocations: 59.8 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.2341, allocations: 143.3 kB / 433.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2342, allocations: 29.28 kB / 434 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.2343, allocations: 55.78 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.2344, allocations: 63.7 kB / 434.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2344, allocations: 8 kB / 434.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.2345, allocations: 20 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.2345, allocations: 31.84 kB / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.2346, allocations: 51.78 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.2348, allocations: 153.1 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2348, allocations: 0 / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2348, allocations: 4 kB / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2348, allocations: 0 / 434.3 MB, free: 3.332 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.0006634/0.2355, allocations: 365.7 kB / 434.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2355, allocations: 12.03 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/0.2356, allocations: 42.73 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.2358, allocations: 32.83 kB / 434.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.236, allocations: 150.3 kB / 434.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2361, allocations: 8.375 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.2361, allocations: 8.125 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.2364, allocations: 117.6 kB / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2364, allocations: 7.891 kB / 435.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2364, allocations: 4 kB / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2364, allocations: 4 kB / 435.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.2367, allocations: 95.86 kB / 435.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.2375, allocations: 438.5 kB / 435.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.2379, allocations: 114.5 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.238, allocations: 44.83 kB / 435.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.238, allocations: 4 kB / 435.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2381, allocations: 42.5 kB / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2381, allocations: 0 / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009963/0.2391, allocations: 404.8 kB / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.2391, allocations: 55.41 kB / 436.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2392, allocations: 138.1 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2392, allocations: 29.92 kB / 436.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.2393, allocations: 116.2 kB / 436.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.2394, allocations: 55.53 kB / 436.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.2394, allocations: 33.61 kB / 436.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2396, allocations: 322.8 kB / 436.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.2397, allocations: 43.97 kB / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.2398, allocations: 71.41 kB / 437 MB, free: 404 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.2401, allocations: 130.3 kB / 437.2 MB, free: 264 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2401, allocations: 0 / 437.2 MB, free: 264 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003432/0.2404, allocations: 169.5 kB / 437.3 MB, free: 88 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2405, allocations: 4 kB / 437.3 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2405, allocations: 4 kB / 437.3 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2405, allocations: 0 / 437.3 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.2407, allocations: 43.91 kB / 437.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2407, allocations: 0 / 437.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.875e-05/0.2408, allocations: 16.05 kB / 437.4 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.2408, allocations: 4 kB / 437.4 MB, free: 16 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 (18): * Single equations (assignments): 18 * 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.0001103/0.2409, allocations: 125.8 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2409, allocations: 15.84 kB / 437.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.241, allocations: 20.78 kB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.241, allocations: 0 / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.241, allocations: 0 / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.241, allocations: 3.984 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007167/0.2417, allocations: 431.1 kB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2417, allocations: 0 / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.2419, allocations: 35.97 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2419, allocations: 3.938 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2419, allocations: 11.94 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2419, allocations: 0 / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2419, allocations: 0 / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.2425, allocations: 305.1 kB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.2425, allocations: 7.953 kB / 438.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.2425, allocations: 4 kB / 438.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2426, allocations: 8.031 kB / 438.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.2427, allocations: 15.92 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.2427, allocations: 4 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.2428, allocations: 110 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2428, allocations: 0 / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.243, allocations: 35.94 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (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 Backend phase and start with SimCode phase: time 0.0008079/0.2438, allocations: 0.8311 MB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.2441, allocations: 115 kB / 439.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2441, allocations: 0 / 439.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2443, allocations: 56.03 kB / 439.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.2446, allocations: 27.98 kB / 439.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.2471, allocations: 1.992 MB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.6e-05/0.2472, allocations: 94.27 kB / 441.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.2472, allocations: 12.66 kB / 441.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.2473, allocations: 35.42 kB / 441.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2473, allocations: 0 / 441.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.2777, allocations: 3.684 MB / 445.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.74, allocations: 7.984 kB / 445.4 MB, free: 7.961 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.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.979030693008099]