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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 103.1 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002521/0.002521, allocations: 188.5 kB / 22.92 MB, free: 5.488 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.628/1.628, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 54.73 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3228, allocations: 49.12 MB / 394.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003126/0.3259, allocations: 1.774 MB / 396.3 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.327, allocations: 0.693 MB / 397 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3271, allocations: 1.594 kB / 397 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.3273, allocations: 23.09 kB / 397 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.71e-05/0.3274, allocations: 36.55 kB / 397 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.3276, allocations: 45 kB / 397.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3278, allocations: 122.2 kB / 397.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.328, allocations: 18.84 kB / 397.2 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.328, allocations: 44.44 kB / 397.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3282, allocations: 42.92 kB / 397.3 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.3282, allocations: 7.688 kB / 397.3 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3283, allocations: 29.94 kB / 397.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.3283, allocations: 21.59 kB / 397.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.3284, allocations: 54.56 kB / 397.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.3287, allocations: 127.3 kB / 397.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3287, allocations: 0 / 397.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3287, allocations: 0 / 397.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3287, allocations: 1.125 kB / 397.5 MB, free: 7.438 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.000649/0.3293, allocations: 415.7 kB / 397.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.3294, allocations: 13.59 kB / 398 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.3296, allocations: 28.8 kB / 398 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.3299, allocations: 188.3 kB / 398.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3299, allocations: 9.094 kB / 398.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.33, allocations: 9.688 kB / 398.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.3302, allocations: 96.52 kB / 398.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3302, allocations: 8.781 kB / 398.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3302, allocations: 5.438 kB / 398.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3302, allocations: 2.812 kB / 398.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.3304, allocations: 58.66 kB / 398.4 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.3311, allocations: 484.8 kB / 398.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.3314, allocations: 79.61 kB / 398.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.3314, allocations: 30.89 kB / 398.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3314, allocations: 1.766 kB / 398.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3314, allocations: 32.42 kB / 399 MB, free: 6.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3314, allocations: 0 / 399 MB, free: 6.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000234/0.3317, allocations: 93.98 kB / 399.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.3317, allocations: 60.94 kB / 399.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.3318, allocations: 119.4 kB / 399.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3318, allocations: 26.77 kB / 399.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.3318, allocations: 115 kB / 399.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.3319, allocations: 35.22 kB / 399.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.3319, allocations: 25.92 kB / 399.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.332, allocations: 320.2 kB / 399.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.3321, allocations: 22.72 kB / 399.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.3322, allocations: 57.86 kB / 399.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3323, allocations: 82.25 kB / 399.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3323, allocations: 5.094 kB / 399.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001677/0.3324, allocations: 108.5 kB / 400 MB, free: 5.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3325, allocations: 4.906 kB / 400 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3325, allocations: 2.641 kB / 400 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3325, allocations: 5.312 kB / 400 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3326, allocations: 23.67 kB / 400.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3326, allocations: 13.97 kB / 400.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.3327, allocations: 10.98 kB / 400.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3327, allocations: 3.719 kB / 400.1 MB, free: 5.25 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.512e-05/0.3328, allocations: 127.1 kB / 400.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3328, allocations: 7.516 kB / 400.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.3328, allocations: 11.05 kB / 400.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3328, allocations: 1.281 kB / 400.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3329, allocations: 9.062 kB / 400.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3329, allocations: 4.688 kB / 400.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3331, allocations: 197.3 kB / 400.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3331, allocations: 0 / 400.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3332, allocations: 24.59 kB / 400.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3332, allocations: 0 / 400.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3332, allocations: 2.422 kB / 400.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.3332, allocations: 1.188 kB / 400.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3332, allocations: 3.938 kB / 400.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3334, allocations: 213.9 kB / 400.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.3334, allocations: 84.03 kB / 400.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3335, allocations: 4 kB / 400.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.3335, allocations: 2.406 kB / 400.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.3336, allocations: 7.344 kB / 400.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3336, allocations: 2.469 kB / 400.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.174e-05/0.3336, allocations: 100.2 kB / 400.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3336, allocations: 0 / 400.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3339, allocations: 23.95 kB / 400.9 MB, free: 4.516 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.208e-05/0.3339, allocations: 102.5 kB / 401 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.3341, allocations: 54.66 kB / 401 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3341, allocations: 0 / 401 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.3342, allocations: 30.86 kB / 401.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.3345, allocations: 17.86 kB / 401.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.3353, allocations: 439.1 kB / 401.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.3354, allocations: 0.6978 MB / 402.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.3355, allocations: 10.88 kB / 402.2 MB, free: 3.359 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.3355, allocations: 11.19 kB / 402.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3355, allocations: 1.75 kB / 402.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of Templates: time 0.004282/0.3398, allocations: 0.9586 MB / 403.2 MB, free: 3.223 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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: 4.853238937444985]