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.001825/0.001825, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 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.002011/0.002011, allocations: 163.5 kB / 25.03 MB, free: 8.934 MB / 18.57 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.437/1.437, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 250.3 MB, free: 7.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.742e-05, allocations: 2.312 kB / 250.3 MB, free: 7.723 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003549/0.003586, allocations: 1.783 MB / 252.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.004861, allocations: 0.667 MB / 252.8 MB, free: 5.25 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.004942, allocations: 0 / 252.8 MB, free: 5.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.005075, allocations: 23.8 kB / 252.8 MB, free: 5.227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.005171, allocations: 39.64 kB / 252.9 MB, free: 5.188 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.005416, allocations: 51.73 kB / 252.9 MB, free: 5.137 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.005634, allocations: 127.3 kB / 253 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.005757, allocations: 21.58 kB / 253.1 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.005883, allocations: 63.88 kB / 253.1 MB, free: 4.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.005996, allocations: 39.89 kB / 253.2 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.006021, allocations: 8 kB / 253.2 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.006112, allocations: 23.98 kB / 253.2 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.006146, allocations: 19.92 kB / 253.2 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.006211, allocations: 39.91 kB / 253.2 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.006488, allocations: 139.5 kB / 253.4 MB, free: 4.664 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006492, allocations: 0 / 253.4 MB, free: 4.664 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.566e-06/0.006495, allocations: 4 kB / 253.4 MB, free: 4.66 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.006501, allocations: 0 / 253.4 MB, free: 4.66 MB / 234.7 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.0007149/0.007216, allocations: 439.9 kB / 253.8 MB, free: 4.195 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.00726, allocations: 11.98 kB / 253.8 MB, free: 4.184 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.007494, allocations: 36.88 kB / 253.9 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.007719, allocations: 136.5 kB / 254 MB, free: 3.988 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.00774, allocations: 8.562 kB / 254 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.007776, allocations: 20.27 kB / 254 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.007977, allocations: 90.34 kB / 254.1 MB, free: 3.867 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.00799, allocations: 4 kB / 254.1 MB, free: 3.863 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.008009, allocations: 4 kB / 254.1 MB, free: 3.859 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.008016, allocations: 4 kB / 254.1 MB, free: 3.855 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.00817, allocations: 55.95 kB / 254.2 MB, free: 3.801 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.008989, allocations: 450.8 kB / 254.6 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.009311, allocations: 107 kB / 254.7 MB, free: 3.203 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.12e-05/0.009382, allocations: 35.67 kB / 254.8 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.009395, allocations: 0 / 254.8 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.009432, allocations: 41.39 kB / 254.8 MB, free: 3.113 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.009433, allocations: 0 / 254.8 MB, free: 3.113 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.001449/0.01088, allocations: 401.6 kB / 255.2 MB, free: 2.684 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.01093, allocations: 55.41 kB / 255.2 MB, free: 2.617 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01111, allocations: 193.8 kB / 255.4 MB, free: 2.41 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.01113, allocations: 25.7 kB / 255.5 MB, free: 2.379 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.01125, allocations: 158.7 kB / 255.6 MB, free: 2.219 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.01131, allocations: 59.52 kB / 255.7 MB, free: 2.16 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.01138, allocations: 39.38 kB / 255.7 MB, free: 2.113 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002967/0.01168, allocations: 0.4961 MB / 256.2 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.01174, allocations: 27.98 kB / 256.2 MB, free: 1.578 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.01186, allocations: 78.58 kB / 256.3 MB, free: 1.48 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.01204, allocations: 110.7 kB / 256.4 MB, free: 1.355 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01204, allocations: 0 / 256.4 MB, free: 1.355 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002442/0.01228, allocations: 138.4 kB / 256.6 MB, free: 1.215 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.0123, allocations: 11.94 kB / 256.6 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.01231, allocations: 0 / 256.6 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.01233, allocations: 4 kB / 256.6 MB, free: 1.199 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01247, allocations: 31.92 kB / 256.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01248, allocations: 0 / 256.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.01255, allocations: 8 kB / 256.6 MB, free: 1.16 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01256, allocations: 4 kB / 256.6 MB, free: 1.156 MB / 234.7 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.0001457/0.0127, allocations: 172.5 kB / 256.8 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.01274, allocations: 12.02 kB / 256.8 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.0128, allocations: 16.44 kB / 256.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.0128, allocations: 4 kB / 256.8 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.0128, allocations: 4 kB / 256.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01281, allocations: 0 / 256.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.01344, allocations: 432.6 kB / 257.2 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01344, allocations: 0 / 257.2 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.01361, allocations: 31.92 kB / 257.3 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01362, allocations: 0 / 257.3 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01363, allocations: 12.06 kB / 257.3 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01363, allocations: 0 / 257.3 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01363, allocations: 0 / 257.3 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.01403, allocations: 318.9 kB / 257.6 MB, free: 92 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.01438, allocations: 7.953 kB / 257.6 MB, free: 84 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01441, allocations: 11.94 kB / 257.6 MB, free: 72 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.01449, allocations: 0 / 257.6 MB, free: 72 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.01452, allocations: 11.92 kB / 257.6 MB, free: 60 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01454, allocations: 8 kB / 257.6 MB, free: 52 kB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.01465, allocations: 135.2 kB / 257.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01465, allocations: 0 / 257.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.0149, allocations: 32 kB / 257.8 MB, free: 15.89 MB / 250.7 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.0001303/0.01504, allocations: 95.47 kB / 257.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.01526, allocations: 102.7 kB / 258 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01526, allocations: 0 / 258 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.01534, allocations: 51.61 kB / 258 MB, free: 15.63 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.01568, allocations: 19.7 kB / 258.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.01644, allocations: 392.4 kB / 258.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01655, allocations: 92.27 kB / 258.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.01661, allocations: 12.97 kB / 258.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.01665, allocations: 12.5 kB / 258.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01665, allocations: 0 / 258.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of Templates: time 0.004451/0.0211, allocations: 1.132 MB / 259.7 MB, free: 13.92 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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.452919099014252]