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.0009433/0.0009433, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001687/0.001687, allocations: 168.7 kB / 25.7 MB, free: 8.395 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 0.8614/0.8614, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 251.5 MB, free: 7.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.249e-05, allocations: 6.25 kB / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001843/0.001855, allocations: 1.803 MB / 253.3 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.002643, allocations: 0.6785 MB / 254 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.002711, allocations: 7.938 kB / 254 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.002817, allocations: 23.84 kB / 254 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.41e-05/0.002881, allocations: 35.64 kB / 254.1 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.003068, allocations: 47.8 kB / 254.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.003185, allocations: 123.3 kB / 254.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.003272, allocations: 23.91 kB / 254.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/0.003341, allocations: 67.81 kB / 254.3 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.003416, allocations: 31.91 kB / 254.3 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.003433, allocations: 12 kB / 254.4 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.003496, allocations: 27.98 kB / 254.4 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.003518, allocations: 27.84 kB / 254.4 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.003549, allocations: 35.92 kB / 254.4 MB, free: 4.324 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.003688, allocations: 91.66 kB / 254.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.00369, allocations: 4 kB / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003691, allocations: 0 / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.003694, allocations: 0 / 254.5 MB, free: 4.23 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.0004619/0.004155, allocations: 304.7 kB / 254.8 MB, free: 3.91 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.004184, allocations: 15.97 kB / 254.8 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.004312, allocations: 40.84 kB / 254.9 MB, free: 3.855 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.004424, allocations: 125.6 kB / 255 MB, free: 3.707 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.004433, allocations: 8.562 kB / 255 MB, free: 3.699 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.004451, allocations: 8.375 kB / 255 MB, free: 3.691 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/0.004537, allocations: 78.33 kB / 255.1 MB, free: 3.609 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004545, allocations: 0 / 255.1 MB, free: 3.609 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.004554, allocations: 8 kB / 255.1 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.004558, allocations: 0 / 255.1 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.004605, allocations: 31.92 kB / 255.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.004956, allocations: 307.2 kB / 255.4 MB, free: 3.25 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.005079, allocations: 66.47 kB / 255.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.005096, allocations: 8.859 kB / 255.5 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.005103, allocations: 4 kB / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.005119, allocations: 34.56 kB / 255.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.00512, allocations: 0 / 255.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001051/0.005225, allocations: 73.59 kB / 255.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.005247, allocations: 55.41 kB / 255.7 MB, free: 2.973 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.005302, allocations: 126.8 kB / 255.8 MB, free: 2.836 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.005311, allocations: 25.7 kB / 255.8 MB, free: 2.805 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.00535, allocations: 107.9 kB / 255.9 MB, free: 2.695 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.00537, allocations: 39.72 kB / 256 MB, free: 2.656 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.005404, allocations: 29.69 kB / 256 MB, free: 2.621 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.005471, allocations: 322.8 kB / 256.3 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.005484, allocations: 11.98 kB / 256.3 MB, free: 2.285 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.00551, allocations: 31.44 kB / 256.4 MB, free: 2.238 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.00556, allocations: 67.27 kB / 256.4 MB, free: 2.16 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005562, allocations: 0 / 256.4 MB, free: 2.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.116e-05/0.005633, allocations: 77.55 kB / 256.5 MB, free: 2.078 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.005642, allocations: 4 kB / 256.5 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.005645, allocations: 0 / 256.5 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.005654, allocations: 4 kB / 256.5 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.005714, allocations: 23.98 kB / 256.5 MB, free: 2.047 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.005718, allocations: 4.031 kB / 256.5 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.005746, allocations: 19.89 kB / 256.6 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.005751, allocations: 4 kB / 256.6 MB, free: 2.02 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 (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 4.993e-05/0.005801, allocations: 113.8 kB / 256.7 MB, free: 1.898 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.005816, allocations: 7.984 kB / 256.7 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.005841, allocations: 16.44 kB / 256.7 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.005842, allocations: 0 / 256.7 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.005844, allocations: 0 / 256.7 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.005847, allocations: 0 / 256.7 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.514e-05/0.005942, allocations: 97.78 kB / 256.8 MB, free: 1.762 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005942, allocations: 0 / 256.8 MB, free: 1.762 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.006001, allocations: 20 kB / 256.8 MB, free: 1.742 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.006002, allocations: 0 / 256.8 MB, free: 1.742 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.00601, allocations: 4 kB / 256.8 MB, free: 1.738 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.006014, allocations: 11.92 kB / 256.8 MB, free: 1.727 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006015, allocations: 4 kB / 256.8 MB, free: 1.723 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.006122, allocations: 159.5 kB / 257 MB, free: 1.551 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.006132, allocations: 15.83 kB / 257 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.006143, allocations: 4 kB / 257 MB, free: 1.531 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.006177, allocations: 3.984 kB / 257 MB, free: 1.527 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.006187, allocations: 4 kB / 257 MB, free: 1.523 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.00619, allocations: 4 kB / 257 MB, free: 1.52 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.623e-05/0.006206, allocations: 24.83 kB / 257 MB, free: 1.492 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006206, allocations: 0 / 257 MB, free: 1.492 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.006341, allocations: 27.95 kB / 257.1 MB, free: 1.465 MB / 234.7 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 5.642e-05/0.006397, allocations: 80.36 kB / 257.1 MB, free: 1.379 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.455e-05/0.006462, allocations: 44.77 kB / 257.2 MB, free: 1.332 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.006464, allocations: 0 / 257.2 MB, free: 1.332 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.006482, allocations: 21.23 kB / 257.2 MB, free: 1.309 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.006627, allocations: 28.25 kB / 257.2 MB, free: 1.281 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.007166, allocations: 320.4 kB / 257.5 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.0072, allocations: 67.34 kB / 257.6 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.007229, allocations: 4.484 kB / 257.6 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.007316, allocations: 63.38 kB / 257.7 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007316, allocations: 0 / 257.7 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of Templates: time 0.002533/0.009849, allocations: 1.012 MB / 258.7 MB, free: 15.79 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.474067266099155]