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.001681/0.001681, allocations: 88.55 kB / 21.43 MB, free: 268 kB / 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.001767/0.001767, allocations: 166.6 kB / 24.7 MB, free: 3.508 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.445/1.445, allocations: 158.6 MB / 186.5 MB, free: 6.383 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: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.158e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003784/0.003816, allocations: 1.72 MB / 300.7 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.005276, allocations: 0.6398 MB / 301.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.005421, allocations: 0 / 301.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.005582, allocations: 19.84 kB / 301.3 MB, free: 6.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.005725, allocations: 43.58 kB / 301.4 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.006086, allocations: 51.8 kB / 301.4 MB, free: 6.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.006376, allocations: 123.3 kB / 301.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.00653, allocations: 21.59 kB / 301.5 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.006696, allocations: 67.8 kB / 301.6 MB, free: 6.027 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.006823, allocations: 39.89 kB / 301.7 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.006851, allocations: 8 kB / 301.7 MB, free: 5.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.006959, allocations: 27.92 kB / 301.7 MB, free: 5.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.006996, allocations: 19.92 kB / 301.7 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.007096, allocations: 35.92 kB / 301.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.007447, allocations: 135.6 kB / 301.9 MB, free: 5.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.007453, allocations: 0 / 301.9 MB, free: 5.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007455, allocations: 3.938 kB / 301.9 MB, free: 5.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.007461, allocations: 0 / 301.9 MB, free: 5.762 MB / 286.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.0008418/0.008303, allocations: 342 kB / 302.2 MB, free: 5.398 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.008353, allocations: 11.98 kB / 302.2 MB, free: 5.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.008617, allocations: 24.88 kB / 302.2 MB, free: 5.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.008967, allocations: 137.6 kB / 302.4 MB, free: 5.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.008989, allocations: 8.562 kB / 302.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.009029, allocations: 12.33 kB / 302.4 MB, free: 5.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.00928, allocations: 98.33 kB / 302.5 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.009298, allocations: 0 / 302.5 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.00932, allocations: 4 kB / 302.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.009328, allocations: 4 kB / 302.5 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.009483, allocations: 59.97 kB / 302.6 MB, free: 5.016 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.01024, allocations: 371.5 kB / 302.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.01055, allocations: 98.58 kB / 303 MB, free: 4.508 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.01062, allocations: 28.84 kB / 303.1 MB, free: 4.477 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.01063, allocations: 0 / 303.1 MB, free: 4.477 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.01066, allocations: 34.56 kB / 303.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.01066, allocations: 224 / 303.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001358/0.01202, allocations: 396.7 kB / 303.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.01206, allocations: 51.41 kB / 303.5 MB, free: 3.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.01218, allocations: 122.1 kB / 303.6 MB, free: 3.816 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.01221, allocations: 33.7 kB / 303.7 MB, free: 3.777 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.01228, allocations: 104 kB / 303.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.01233, allocations: 55.52 kB / 303.8 MB, free: 3.617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.01239, allocations: 33.72 kB / 303.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.01254, allocations: 322.8 kB / 304.2 MB, free: 3.254 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.01261, allocations: 31.92 kB / 304.2 MB, free: 3.223 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.01269, allocations: 61.92 kB / 304.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.01287, allocations: 95.36 kB / 304.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01287, allocations: 4 kB / 304.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002259/0.01309, allocations: 129.5 kB / 304.5 MB, free: 2.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.01311, allocations: 8 kB / 304.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01312, allocations: 4.062 kB / 304.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01313, allocations: 0 / 304.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.01328, allocations: 35.92 kB / 304.5 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01329, allocations: 0 / 304.5 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.01335, allocations: 8 kB / 304.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.01336, allocations: 4 kB / 304.6 MB, free: 2.852 MB / 286.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.0001169/0.01348, allocations: 125.7 kB / 304.7 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.01352, allocations: 7.953 kB / 304.7 MB, free: 2.711 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.01357, allocations: 24.45 kB / 304.7 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01357, allocations: 0 / 304.7 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01358, allocations: 4 kB / 304.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01358, allocations: 3.938 kB / 304.7 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.01413, allocations: 351.8 kB / 305.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01413, allocations: 0 / 305.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.01428, allocations: 31.92 kB / 305.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01429, allocations: 0 / 305.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.0143, allocations: 4 kB / 305.1 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.0143, allocations: 0 / 305.1 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0143, allocations: 0 / 305.1 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.01464, allocations: 262 kB / 305.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.01466, allocations: 11.98 kB / 305.4 MB, free: 1.973 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.01468, allocations: 4 kB / 305.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.01477, allocations: 4 kB / 305.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.01481, allocations: 7.922 kB / 305.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01482, allocations: 8 kB / 305.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.971e-05/0.01489, allocations: 99.77 kB / 305.5 MB, free: 1.852 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01489, allocations: 0 / 305.5 MB, free: 1.852 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.01515, allocations: 24 kB / 305.5 MB, free: 1.828 MB / 286.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.0001321/0.01529, allocations: 99.25 kB / 305.6 MB, free: 1.719 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.01548, allocations: 83.89 kB / 305.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01548, allocations: 0 / 305.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.01554, allocations: 35.92 kB / 305.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.01589, allocations: 28.25 kB / 305.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.01664, allocations: 367 kB / 306.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.346e-05/0.01673, allocations: 96.2 kB / 306.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.901e-05/0.01679, allocations: 12.97 kB / 306.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.01683, allocations: 12.5 kB / 306.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01683, allocations: 7.938 kB / 306.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of Templates: time 0.00429/0.02112, allocations: 1.126 MB / 307.4 MB, free: 15.91 MB / 302.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 -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/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.263165675103664]