Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001759/0.001759, allocations: 108.8 kB / 19.17 MB, free: 3.871 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.00194/0.00194, allocations: 207.2 kB / 22.12 MB, free: 0.9297 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.363/1.363, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_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.001792/0.001792, allocations: 55.92 kB / 343 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2371, allocations: 49.13 MB / 392.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002353/0.2395, allocations: 1.776 MB / 393.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.2402, allocations: 0.6932 MB / 394.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.2403, allocations: 1.375 kB / 394.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.2404, allocations: 17.22 kB / 394.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.2405, allocations: 39.03 kB / 394.6 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.2407, allocations: 53.36 kB / 394.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.2408, allocations: 122 kB / 394.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.2409, allocations: 20.89 kB / 394.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.241, allocations: 46.39 kB / 394.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.241, allocations: 51.98 kB / 394.9 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.2411, allocations: 8.156 kB / 394.9 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.2411, allocations: 26.17 kB / 394.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2411, allocations: 17.89 kB / 395 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.2412, allocations: 53.83 kB / 395 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.2414, allocations: 128.5 kB / 395.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2414, allocations: 4 kB / 395.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2414, allocations: 3.938 kB / 395.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.2414, allocations: 0 / 395.2 MB, free: 6.867 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.000419/0.2418, allocations: 412 kB / 395.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2418, allocations: 10.06 kB / 395.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.934e-05/0.2419, allocations: 3.5 kB / 395.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.2419, allocations: 39.02 kB / 395.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.242, allocations: 32.77 kB / 395.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2422, allocations: 192.9 kB / 395.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2422, allocations: 12.66 kB / 395.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2422, allocations: 9.891 kB / 395.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.2424, allocations: 92.61 kB / 395.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2424, allocations: 1.031 kB / 395.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2424, allocations: 5.25 kB / 395.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2424, allocations: 2.219 kB / 395.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.2426, allocations: 71.48 kB / 396 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.2431, allocations: 442 kB / 396.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.2433, allocations: 101 kB / 396.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.2434, allocations: 32.97 kB / 396.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.2434, allocations: 5.812 kB / 396.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.2434, allocations: 31.53 kB / 396.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2434, allocations: 0 / 396.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001147/0.2445, allocations: 0.5329 MB / 397.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.2446, allocations: 58.2 kB / 397.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.2446, allocations: 120 kB / 397.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.2446, allocations: 29.64 kB / 397.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.2447, allocations: 108.1 kB / 397.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2447, allocations: 48.66 kB / 397.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.2447, allocations: 32.95 kB / 397.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.2448, allocations: 320.8 kB / 397.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.2448, allocations: 31.31 kB / 397.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.2449, allocations: 60.53 kB / 397.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.245, allocations: 99.17 kB / 398 MB, free: 4.363 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.245, allocations: 0 / 398 MB, free: 4.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001723/0.2452, allocations: 129.8 kB / 398.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2452, allocations: 6.203 kB / 398.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2452, allocations: 1.344 kB / 398.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2452, allocations: 1.656 kB / 398.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2453, allocations: 37.62 kB / 398.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2454, allocations: 5.141 kB / 398.2 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.2454, allocations: 6.406 kB / 398.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2454, allocations: 8.047 kB / 398.2 MB, free: 4.273 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 (17): * Single equations (assignments): 17 * 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.345e-05/0.2455, allocations: 123.9 kB / 398.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.2455, allocations: 8.391 kB / 398.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.2455, allocations: 19.73 kB / 398.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2455, allocations: 5.062 kB / 398.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2456, allocations: 1.859 kB / 398.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2456, allocations: 0.8438 kB / 398.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.246, allocations: 423.9 kB / 398.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.246, allocations: 5.219 kB / 398.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.2461, allocations: 33.86 kB / 398.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2461, allocations: 5.344 kB / 398.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2461, allocations: 3.156 kB / 398.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2461, allocations: 1.188 kB / 398.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2461, allocations: 1.125 kB / 398.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.2464, allocations: 255.5 kB / 399.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.2464, allocations: 88.52 kB / 399.2 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2464, allocations: 6.094 kB / 399.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.2465, allocations: 1.312 kB / 399.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.2465, allocations: 7.078 kB / 399.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2465, allocations: 6.938 kB / 399.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.429e-05/0.2465, allocations: 106.7 kB / 399.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2465, allocations: 0 / 399.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.2468, allocations: 25.84 kB / 399.3 MB, free: 3.336 MB / 318.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 (12): * Single equations (assignments): 12 * 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.0003166/0.2471, allocations: 0.7822 MB / 400.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.2472, allocations: 75.83 kB / 400.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2472, allocations: 1.438 kB / 400.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/0.2473, allocations: 40.86 kB / 400.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2476, allocations: 15.84 kB / 400.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2489, allocations: 1.831 MB / 402.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.249, allocations: 0.7051 MB / 402.8 MB, free: 296 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.2491, allocations: 12.97 kB / 402.8 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.2491, allocations: 32.69 kB / 402.8 MB, free: 264 kB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2491, allocations: 0 / 402.8 MB, free: 264 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.2692, allocations: 2.632 MB / 405.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.022, allocations: 10.11 kB / 405.5 MB, free: 15.58 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.259030608984176]