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.001321/0.001321, allocations: 84.8 kB / 22 MB, free: 5.18 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.001402/0.001402, allocations: 161.8 kB / 25.25 MB, free: 3.027 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.312/1.312, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.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: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [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.00188/0.00188, allocations: 63.91 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2264, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00305/0.2295, allocations: 1.714 MB / 350.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2306, allocations: 0.6396 MB / 350.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.2307, allocations: 0 / 350.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.2308, allocations: 15.8 kB / 350.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.2309, allocations: 35.72 kB / 350.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.2311, allocations: 47.8 kB / 351 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.2313, allocations: 123.4 kB / 351.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2314, allocations: 21.58 kB / 351.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.2315, allocations: 47.86 kB / 351.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.2316, allocations: 43.77 kB / 351.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.2316, allocations: 8 kB / 351.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.2317, allocations: 27.92 kB / 351.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.2317, allocations: 19.92 kB / 351.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.2318, allocations: 47.8 kB / 351.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.232, allocations: 134 kB / 351.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.232, allocations: 0 / 351.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.232, allocations: 0 / 351.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.232, allocations: 0 / 351.4 MB, free: 12.6 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.0006554/0.2326, allocations: 338 kB / 351.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2327, allocations: 15.98 kB / 351.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.2329, allocations: 24.88 kB / 351.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2331, allocations: 142.3 kB / 351.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2331, allocations: 8.562 kB / 351.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.2332, allocations: 8.375 kB / 351.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2333, allocations: 93.59 kB / 352 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2334, allocations: 7.984 kB / 352 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2334, allocations: 4 kB / 352 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2334, allocations: 4 kB / 352.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.2335, allocations: 59.97 kB / 352.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.2342, allocations: 371.5 kB / 352.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.2345, allocations: 102.5 kB / 352.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.2345, allocations: 24.86 kB / 352.6 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.2345, allocations: 7.984 kB / 352.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2346, allocations: 38.56 kB / 352.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2346, allocations: 0 / 352.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001284/0.2359, allocations: 389 kB / 353 MB, free: 10.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.2359, allocations: 55.41 kB / 353.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.236, allocations: 130.1 kB / 353.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.236, allocations: 25.7 kB / 353.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.2361, allocations: 104 kB / 353.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.2361, allocations: 55.52 kB / 353.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.2362, allocations: 29.72 kB / 353.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2363, allocations: 322.8 kB / 353.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.2364, allocations: 31.98 kB / 353.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.2365, allocations: 59.36 kB / 353.8 MB, free: 9.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.2366, allocations: 95.38 kB / 353.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.2366, allocations: 0 / 353.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002084/0.2368, allocations: 129.5 kB / 354 MB, free: 9.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2369, allocations: 8.312 kB / 354 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2369, allocations: 3.984 kB / 354.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2369, allocations: 4 kB / 354.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.237, allocations: 27.94 kB / 354.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.237, allocations: 3.984 kB / 354.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.2371, allocations: 16 kB / 354.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.2371, allocations: 7.938 kB / 354.1 MB, free: 9.676 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 0.000106/0.2372, allocations: 117.8 kB / 354.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.2372, allocations: 7.953 kB / 354.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.2373, allocations: 16.44 kB / 354.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2373, allocations: 0 / 354.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2373, allocations: 0 / 354.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2373, allocations: 0 / 354.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.2378, allocations: 363.7 kB / 354.6 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2378, allocations: 4 kB / 354.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.238, allocations: 27.92 kB / 354.6 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.238, allocations: 4 kB / 354.6 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.238, allocations: 4 kB / 354.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.238, allocations: 7.938 kB / 354.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.238, allocations: 4.047 kB / 354.7 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.2384, allocations: 250.1 kB / 354.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.2384, allocations: 7.953 kB / 354.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2384, allocations: 0 / 354.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.2385, allocations: 16 kB / 354.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.2385, allocations: 11.97 kB / 354.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2385, allocations: 0 / 354.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.044e-05/0.2386, allocations: 103.8 kB / 355 MB, free: 8.672 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2386, allocations: 0 / 355 MB, free: 8.672 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.2389, allocations: 20 kB / 355.1 MB, free: 8.652 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.0001173/0.239, allocations: 103.2 kB / 355.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.2392, allocations: 83.84 kB / 355.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2392, allocations: 0 / 355.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.2392, allocations: 44.05 kB / 355.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2396, allocations: 28.09 kB / 355.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.2404, allocations: 469.3 kB / 355.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.2405, allocations: 92.27 kB / 355.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.2405, allocations: 12.97 kB / 355.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.2406, allocations: 12.5 kB / 355.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2406, allocations: 0 / 355.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of Templates: time 0.004067/0.2447, allocations: 1.116 MB / 357 MB, free: 6.645 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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: 4.253793376963586]