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.001462/0.001462, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.001554/0.001554, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.552/1.552, allocations: 207.7 MB / 236.1 MB, free: 9.734 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.001895/0.001895, allocations: 59.92 kB / 348.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3495, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003342/0.3528, allocations: 1.726 MB / 399.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3539, allocations: 0.6329 MB / 399.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.354, allocations: 2.25 kB / 399.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.3541, allocations: 16.83 kB / 400 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.3542, allocations: 37.44 kB / 400 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.3545, allocations: 45.89 kB / 400 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3547, allocations: 125.8 kB / 400.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3548, allocations: 14.02 kB / 400.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.3549, allocations: 48.88 kB / 400.2 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.355, allocations: 42.98 kB / 400.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.355, allocations: 12.41 kB / 400.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.3551, allocations: 25.84 kB / 400.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.3551, allocations: 17.7 kB / 400.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.3552, allocations: 42.17 kB / 400.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.3555, allocations: 136.7 kB / 400.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3555, allocations: 1.125 kB / 400.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3555, allocations: 0 / 400.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3555, allocations: 0 / 400.5 MB, free: 7.535 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.0005221/0.356, allocations: 332.1 kB / 400.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.356, allocations: 13.33 kB / 400.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.3563, allocations: 29.22 kB / 400.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3565, allocations: 133.8 kB / 401 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3565, allocations: 11.84 kB / 401 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.3565, allocations: 12.09 kB / 401 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.3567, allocations: 91.53 kB / 401.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3567, allocations: 5.203 kB / 401.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3568, allocations: 9.375 kB / 401.1 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.3568, allocations: 2.688 kB / 401.1 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3569, allocations: 58.31 kB / 401.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.3576, allocations: 377.1 kB / 401.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.3579, allocations: 83.16 kB / 401.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.358, allocations: 28.06 kB / 401.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.358, allocations: 1.188 kB / 401.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.358, allocations: 37.56 kB / 401.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.358, allocations: 0 / 401.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.00025/0.3582, allocations: 101.5 kB / 401.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.3583, allocations: 53.64 kB / 401.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.3583, allocations: 129.8 kB / 402 MB, free: 6.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3584, allocations: 27.11 kB / 402 MB, free: 6.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.3584, allocations: 112.3 kB / 402.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.3584, allocations: 30.77 kB / 402.1 MB, free: 6.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.3585, allocations: 26.55 kB / 402.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.3585, allocations: 320 kB / 402.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.3586, allocations: 26.22 kB / 402.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.3586, allocations: 51.78 kB / 402.6 MB, free: 5.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3588, allocations: 82.53 kB / 402.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3588, allocations: 0 / 402.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001628/0.3589, allocations: 110.4 kB / 402.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3589, allocations: 5.531 kB / 402.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3589, allocations: 1.469 kB / 402.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.359, allocations: 2.062 kB / 402.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3591, allocations: 34.52 kB / 402.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3591, allocations: 1.859 kB / 402.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.3591, allocations: 10.95 kB / 402.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3591, allocations: 4.516 kB / 402.8 MB, free: 5.629 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 6.835e-05/0.3592, allocations: 122.8 kB / 402.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.3592, allocations: 8.391 kB / 402.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.3593, allocations: 10.83 kB / 402.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3593, allocations: 1.25 kB / 402.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3593, allocations: 0 / 402.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3593, allocations: 5.859 kB / 403 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3594, allocations: 133.5 kB / 403.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3594, allocations: 0.7969 kB / 403.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.3596, allocations: 29.05 kB / 403.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3596, allocations: 0 / 403.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3596, allocations: 1.25 kB / 403.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3596, allocations: 0.5156 kB / 403.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3596, allocations: 5.031 kB / 403.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3598, allocations: 209.8 kB / 403.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.3599, allocations: 6.969 kB / 403.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3599, allocations: 2.375 kB / 403.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.3599, allocations: 8.453 kB / 403.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.36, allocations: 4.781 kB / 403.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.36, allocations: 6.188 kB / 403.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.36, allocations: 96.33 kB / 403.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 3.938 kB / 403.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.3603, allocations: 28.17 kB / 403.5 MB, free: 5.062 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.051e-05/0.3603, allocations: 101.8 kB / 403.6 MB, free: 4.969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.3605, allocations: 53.72 kB / 403.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3605, allocations: 1 kB / 403.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.3606, allocations: 30.05 kB / 403.7 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3609, allocations: 13.78 kB / 403.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.3617, allocations: 455.3 kB / 404.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.105e-05/0.3618, allocations: 90.69 kB / 404.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.3618, allocations: 12.78 kB / 404.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3618, allocations: 4 kB / 404.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Templates: time 0.003969/0.3658, allocations: 1.358 MB / 405.6 MB, free: 4.355 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.540281098801643]