Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.001777/0.001777, allocations: 116.2 kB / 21.94 MB, free: 8 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.002223/0.002223, allocations: 200.8 kB / 25.23 MB, free: 3.574 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.529/1.529, allocations: 207.6 MB / 236 MB, free: 9.992 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: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.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.001954/0.001954, allocations: 51.92 kB / 348.4 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3229, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003149/0.3261, allocations: 1.778 MB / 399.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3271, allocations: 0.6938 MB / 400.1 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.3272, allocations: 5.906 kB / 400.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.3274, allocations: 12.38 kB / 400.1 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.3275, allocations: 37.86 kB / 400.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.3278, allocations: 48.92 kB / 400.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.328, allocations: 121.5 kB / 400.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3282, allocations: 20.16 kB / 400.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.3283, allocations: 44.31 kB / 400.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3284, allocations: 51.22 kB / 400.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3284, allocations: 7.875 kB / 400.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.3285, allocations: 26.3 kB / 400.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.3286, allocations: 16.78 kB / 400.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.3286, allocations: 46.3 kB / 400.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.3289, allocations: 136.1 kB / 400.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3289, allocations: 4 kB / 400.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3289, allocations: 0 / 400.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3289, allocations: 0 / 400.6 MB, free: 7.512 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.0005374/0.3295, allocations: 327.3 kB / 401 MB, free: 7.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3295, allocations: 18.69 kB / 401 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.3297, allocations: 24.92 kB / 401 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.33, allocations: 136.7 kB / 401.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.33, allocations: 16.52 kB / 401.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.33, allocations: 8.406 kB / 401.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.3303, allocations: 94.42 kB / 401.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3303, allocations: 5.453 kB / 401.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3303, allocations: 4.656 kB / 401.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3304, allocations: 2.562 kB / 401.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3305, allocations: 59.64 kB / 401.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.3313, allocations: 426.2 kB / 401.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.3316, allocations: 82.08 kB / 401.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.3317, allocations: 32.44 kB / 401.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3317, allocations: 1.25 kB / 401.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3317, allocations: 36.72 kB / 401.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.3317, allocations: 3.938 kB / 401.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002794/0.332, allocations: 97.58 kB / 402 MB, free: 6.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.332, allocations: 57.47 kB / 402 MB, free: 6.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.3321, allocations: 123 kB / 402.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3321, allocations: 25.7 kB / 402.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.3322, allocations: 111.8 kB / 402.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.3322, allocations: 30.56 kB / 402.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.3323, allocations: 26.95 kB / 402.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.3323, allocations: 323.8 kB / 402.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.416e-05/0.3324, allocations: 18.17 kB / 402.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.3325, allocations: 59.64 kB / 402.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3326, allocations: 80.86 kB / 402.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3326, allocations: 1.125 kB / 402.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001739/0.3328, allocations: 108.7 kB / 402.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3328, allocations: 5.5 kB / 402.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3328, allocations: 1.812 kB / 402.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3328, allocations: 2.312 kB / 402.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.333, allocations: 27.06 kB / 403 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.333, allocations: 5.391 kB / 403 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.333, allocations: 10.52 kB / 403 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.333, allocations: 8.188 kB / 403 MB, free: 5.559 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 (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 prepare postOptimizeDAE: time 7.289e-05/0.3331, allocations: 123.2 kB / 403.1 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.3331, allocations: 8.359 kB / 403.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.3332, allocations: 10.33 kB / 403.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3332, allocations: 5.766 kB / 403.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3332, allocations: 5 kB / 403.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3332, allocations: 0.7031 kB / 403.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.3334, allocations: 167.7 kB / 403.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3334, allocations: 1.156 kB / 403.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3335, allocations: 32.72 kB / 403.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3335, allocations: 0 / 403.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3335, allocations: 1.438 kB / 403.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3335, allocations: 0.6562 kB / 403.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.3335, allocations: 5.312 kB / 403.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3338, allocations: 196.9 kB / 403.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.3338, allocations: 11.2 kB / 403.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3338, allocations: 1.984 kB / 403.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.3339, allocations: 7.938 kB / 403.6 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.3339, allocations: 13.39 kB / 403.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3339, allocations: 1.344 kB / 403.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.334, allocations: 96.98 kB / 403.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.334, allocations: 0 / 403.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3342, allocations: 28.08 kB / 403.7 MB, free: 4.957 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * 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 8.21e-05/0.3343, allocations: 95.84 kB / 403.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.3345, allocations: 60.08 kB / 403.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3345, allocations: 0 / 403.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.3345, allocations: 30.44 kB / 403.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3348, allocations: 26.39 kB / 403.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.3356, allocations: 457.7 kB / 404.3 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.3358, allocations: 0.703 MB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.3358, allocations: 12.44 kB / 405.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3358, allocations: 0 / 405.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Templates: time 0.003623/0.3394, allocations: 1.31 MB / 406.4 MB, free: 3.621 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.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: 7.295752953970805]